[eml-dev] White sapce string at "para" element

Jing Tao tao at nceas.ucsb.edu
Sun Apr 19 10:39:23 PDT 2009


Hi, Margaret:

Here is a very simple eml document created by morpho:
<?xml version="1.0"?>
<eml:eml packageId="tao.12767.1" system="knb" 
xmlns:eml="eml://ecoinformatics.org/eml-2.1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.0 eml.xsd"> <access 
authSystem="knb" order="denyFirst"> <allow><principal>public</principal>
<permission>read</permission>
</allow>
</access>
  <dataset> <title>title</title>
  <creator id="1240161910422"> <organizationName>UCSB</organizationName>
</creator>
  <abstract><para> </para>
</abstract>
<contact id="1240161923566"><individualName><surName>UCSB</surName>
</individualName>
</contact>
</dataset>
  </eml:eml>

You may notice that there is white sapce value in abstract/para element. 
This issue relates to the morpho bug 2223 - 
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2223

This bug was claimed to be fixed. But somehow it came back again and I 
reopenned the bug.

I thought Metacat would reject this document. However, metacat at dev 
accepted it. I also tried the online emlparser at dev 
http://dev.nceas.ucsb.edu/emlparser/, which cotains eml-2.1.0 release 
code. The parser said the above document is a valid eml document.

I am wondering why eml-2.1.0 schema allows a white space in para element. 
Would you mind taking a look?

Thanks,

Jing

Jing Tao
National Center for Ecological
Analysis and Synthesis (NCEAS)
735 State St. Suite 204
Santa Barbara, CA 93101


More information about the Eml-dev mailing list