Bug #5731
openparser does not recognize attribute/@id in additionalMetadata/describes
0%
Description
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>
Updated by Margaret O'Brien about 10 years ago
I'd close this if I could figure out how. I must be missing something obvious.