[eml-dev] [Bug 2512] - require text content in elements to be non-empty

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Nov 4 14:09:26 PST 2008


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





------- Comment #2 from mob at icess.ucsb.edu  2008-11-04 14:09 -------
The pattern for this type will be something resembling:
      <xs:pattern value="[\s]*[\S][\s\S]*"/> 

I am assuming that we still want to allow newlines in strings, and the  dot (.)
specifically does not match these. At least some current xs:strings have these
(e.g. <title> in test/eml-datasetWithCitation.xml).
need to test against some docs with \r\n as well


More information about the Eml-dev mailing list