NCEAS / z-test-issues

Test issue imports from redmine
0 stars 0 forks source link

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

Open mbjones opened 7 years ago

mbjones commented 7 years ago

Author Name: Margaret O'Brien (Margaret O'Brien) Original Redmine Issue: 5731, https://projects.ecoinformatics.org/ecoinfo/issues/5731 Original Date: 2012-11-08 Original Assignee: Matt Jones


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 that the parser checks. I am assuming this was not deliberate.

example config file with : 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.

... NH4_uM ... ... entity_1.NH4_uM ...
mbjones commented 7 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:31:29Z


Original Bugzilla ID was 5731

mbjones commented 7 years ago

Original Redmine Comment Author Name: Margaret O'Brien (Margaret O'Brien) Original Date: 2014-08-28T16:01:29Z


fixed in EML 2.1.1

mbjones commented 7 years ago

Original Redmine Comment Author Name: Margaret O'Brien (Margaret O'Brien) Original Date: 2014-08-28T16:12:40Z


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