EML 2.0.0 validator question
Matt Jones
jones at nceas.ucsb.edu
Thu Dec 18 16:20:14 PST 2003
Hey Sven,
Thanks for the problem report. We tracked it down to a bug in our
parser code, and have updated the code to fix the issue. We'll release
this new version of the parser with the next release of EML (2.0.1). We
have also put the new validator in place on our website so that the bug
won't affect web-based validation. If you are using the commandline
version by compiling it yourself from the previous release, then you can
fix the bug by replacing the EMLParser.java in your distribution with
the version that I've attached to this email.
With the patched validator, your document IDs look ok now but you still
have an error: you are missing the system attribute on the root
<eml:eml> tag. After you fix that it validates now.
I'm a perfectly fine contact for these types of issues, but you could
also ask questions of the eml-dev at ecoinformatics.org list (which has all
of the relevant developers on it). That way if I'm out of town or
whatever you'll still get a timely response from someone. Thanks again
for the feedback, and let us know if this works for you or not.
Cheers,
Matt
bohms at msu.edu wrote:
> Hi Mattew Jones,
>
> I don't know if you are the right person to send this to, but I remember Tim Bergsma
> mentioning your name in conjuction with EML.If not can you forward this to the right
> person. The problem i have found is this:
>
> I have an eml document (i think) and when i add an id to the dataset tag the validator
> rejects it because it claims that there is a duplicate id. When i look at EMLParser it
> does indeed try to add the dataset id twice to the idHash. It appears to be looking at
> the same nodes twice on different passes through the keysNL loop (index j line 155).
> Are the same selector paths supposed to be listed under more than one key ie. the
> xPaths under entityIdentifierKey are also listed under idenifierKey.
>
> Again i'm not sure if this is supposed to behave that way or not. I've attached a copy of
> the eml file i was trying to validate.
>
> Thanks,
>
> -- Sven Bohm (KF8A)
>
>
>
> ------------------------------------------------------------------------
>
> The following section of this message contains a file attachment
> prepared for transmission using the Internet MIME message format.
> If you are using Pegasus Mail, or any other MIME-compliant system,
> you should be able to save it or view it from within your mailer.
> If you cannot, please ask your system administrator for assistance.
>
> ---- File information -----------
> File: eml.xml
> Date: 17 Dec 2003, 11:13
> Size: 5498 bytes.
> Type: Unknown
--
-------------------------------------------------------------------
Matt Jones jones at nceas.ucsb.edu
http://www.nceas.ucsb.edu/ Fax: 425-920-2439 Ph: 907-789-0496
National Center for Ecological Analysis and Synthesis (NCEAS)
University of California Santa Barbara
Interested in ecological informatics? http://www.ecoinformatics.org
-------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EMLParser.java
Type: text/x-java
Size: 22547 bytes
Desc: not available
Url : http://mercury.nceas.ucsb.edu/ecoinformatics/pipermail/eml-dev/attachments/20031218/6e87248b/EMLParser.bin
More information about the Eml-dev
mailing list