[Bug 586] - resolve validation problem with missing keys

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri Oct 4 10:43:29 PDT 2002


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

jones at nceas.ucsb.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From jones at nceas.ucsb.edu  2002-10-04 10:43 -------
OK, so here's the deal.  We've agreed ID should not be required.  So that rules
out using XML Schema keys to force uniqueness of the ids, because they do not
allow nulls (if you select an element for a uniqieness check, its an error if it
doesn't have the id at all).  So...Chad wrote an EMLParser in Java that does the
checks they way we want them done.  It basically takes the key/keyref defs and
validates that they follow the rules laid out in the eml spec.  This code is
shipping with the EML release, and has been exposed as a servlet on the web for
people to use for validating their eml instances.

Hopefully Xerces will fix their bug, but the more serious problem would still
remain, so our custom parser seems like the best solution for now.  Will need to
flag this in the distribution.

RESOLVED FIXED.



More information about the Eml-dev mailing list