Project

General

Profile

Task #4061

MNDeployment #3188: Kansas University Biodiversity Institute

Task #4041: Review KUBI synchronization results

Fix stmml:unit validation errors in KUBI EML

Added by Chris Jones about 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
CJ Grady
Target version:
Start date:
2013-10-08
Due date:
% Done:

100%

Story Points:
Sprint:

Description

After some digging, I found that the EML being produced by the KUBI MN is not synchronizing because of a validation problem with the stmml:unit elements being declared i the section of the EML. This likely wasn't easily noticed because the "EML Validation Service":http://knb.ecoinformatics.org/emlparser/ doesn't parse the content in the section other than to assure XML validity, but not schema validity.

That said, the fix looks easy: stmml:unit can't have character content as a direct child since it's definition specifies element content only as children (annotations removed):

xsd:complexType



/xsd:choice




/xsd:attribute

/xsd:attribute

/xsd:attribute

/xsd:attribute
/xsd:complexType
/xsd:element

So, the textual description of each custom unit needs to be wrapped in a tag, e.g:

eml:eml
...




Standard Deviation multiplied by 100
/stmml:unit



/eml:eml

I'd also suggest that the unit id attribute be a camel case id, which would be more consistent with ids found in the "EML unit dictionary":https://code.ecoinformatics.org/code/eml/tags/RELEASE_EML_2_1_1/eml-unitDictionary.xml. Something like:

This isn't a necessity, but may help in adopting these units into the next version of the unit dictionary.

History

#1 Updated by CJ Grady about 11 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

#2 Updated by CJ Grady about 11 years ago

  • translation missing: en.field_remaining_hours set to 0.0
  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

#3 Updated by Bruce Wilson about 11 years ago

  • Target version changed from 315 to Deploy by end of Y5Q2

#4 Updated by Laura Moyers almost 11 years ago

  • Target version changed from Deploy by end of Y5Q2 to Deploy by end of Y5Q3

#5 Updated by Laura Moyers almost 11 years ago

  • Target version changed from Deploy by end of Y5Q3 to Operational

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)