[eml-dev] [Bug 3232] - EML parser limitations

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Apr 23 12:17:33 PDT 2008


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


bowdish at nceas.ucsb.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bowdish at nceas.ucsb.edu




------- Comment #3 from bowdish at nceas.ucsb.edu  2008-04-23 12:17 -------
These are two tests were to see if the older versions of eml.2.0.1 would
validate with the newer version. Very simple data packages validated but these
two did not. Very basic data packages did validate.


This is an eml.2.1.0rc3 validation error using xerces version -2_9_1.1. These
data packages have not been edited to conform to new eml requirement for
describes metadata.


[Error] 876.3:61:32: cvc-complex-type.2.4.a: Invalid content was found starting
with element 'unitList'. One of '{describes, metadata}' is expected.
876.3: 1290 ms (66 elems, 34 attrs, 0 spaces, 345 chars)

eml validation with with test document at
http://dev.nceas.ucsb.edu/knb/metacat?action=read&qformat=knb&docid=bowdish.876.3

------------
This is data package created with 2.0.1 eml editor only the eml version
sections were changed at the top of the document


[Error] 251.9:47:59: cvc-type.3.1.1: Element 'references' is a simple type, so
it cannot have attributes, excepting those whose namespace name is identical to
'http://www.w3.org/2001/XMLSchema-instance' and whose [local name] is one of
'type', 'nil', 'schemaLocation' or 'noNamespaceSchemaLocation'. However, the
attribute, 'system' was found.
251.9: 1337 ms (221 elems, 45 attrs, 0 spaces, 9500 chars)

http://dev.nceas.ucsb.edu/knb/metacat?action=read&qformat=knb&docid=bowdish.251.9

------------------
eml 2.0.1 validates on these two test data packages
this section is edited to test 2.0.1 <?xml version="1.0"?><eml:eml
xmlns:eml="eml://ecoinformatics.org/eml-2.0.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packageId="bowdish.251.9"
scope="system" system="knb"
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.0.1
http://knb.ecoinformatics.org/knb/schema/eml-2.0.1/eml.xsd"> 

-----------------
This section is edited to test 2.1.0rc3

<?xml version="1.0"?><eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.1.0rc3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packageId="bowdish.251.9"
scope="system" system="knb"
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.0rc3 eml.xsd"> 


More information about the Eml-dev mailing list