[eml-dev] [Bug 5731] New: parser does not recognize attribute/@id in additionalMetadata/describes

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Nov 8 13:03:03 PST 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5731

          Priority: P2
            Bug ID: 5731
          Assignee: jones at nceas.ucsb.edu
           Summary: parser does not recognize attribute/@id in
                    additionalMetadata/describes
        QA Contact: eml-dev at ecoinformatics.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: mob at msi.ucsb.edu
          Hardware: Other
            Status: NEW
           Version: 2.1.0
         Component: eml-parser
           Product: EML

A document has an additionalMetadata section which describes a dataTable
attribute. But the parser rejects it saying the referenced id does not exist in
the given keys. 

I think this is because "//attribute" was left off the list of elements in the
<key name="identifierKey"> that the parser checks. I am assuming this was not
deliberate.

example config file with <key name="identifierKey">:
http://svn.lternet.edu/websvn/filedetails.php?repname=EML&path=%2Ftrunk%2Feml-2.1.0%2Flib%2Fconfig.xml

Although the parser I used was
http://knb.ecoinformatics.org/emlparser/index.html


Below is some skeleton EML. Obviously, the doc is not in Metacat because it is
invalid. 

<dataset>
...
 <attribute  id="entity_1.NH4_uM" system="sbclter" scope="system">
  <attributeName>NH4_uM</attributeName>
...
 </attribute>
...
</dataset>
<additionalMetadata>
    <describes>entity_1.NH4_uM</describes>
    <metadata>
      <annotation> ... </annotation>
    </metadata>
</additionalMetadata>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/ecoinformatics/pipermail/eml-dev/attachments/20121108/816f4505/attachment.html>


More information about the Eml-dev mailing list