Project

General

Profile

Bug #5731

parser does not recognize attribute/@id in additionalMetadata/describes

Added by Margaret O'Brien about 6 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
eml-parser
Target version:
Start date:
11/08/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5731

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>

History

#1 Updated by Redmine Admin over 5 years ago

Original Bugzilla ID was 5731

#2 Updated by Margaret O'Brien over 4 years ago

fixed in EML 2.1.1

#3 Updated by Margaret O'Brien over 4 years ago

I'd close this if I could figure out how. I must be missing something obvious.

Also available in: Atom PDF