Hi,

I have this schema :
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  <xsd:element name="element" type="xsd:token"/>
</xsd:schema>


And for example the xml file :
<?xml version="1.0" encoding="ISO-8859-1"?>
<element>       test</element>

And with xmllint (version 2.6.19) this document validates (although
the value of <element> begins with spaces).
It seems that the value of this 'token' element is corrected before
validating it (using xmlSchemaCollapseString). Is this behaviour
correct ?
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to