G
Gustaf Liljegren
I've got a few questions about the whiteSpace facet.
1. It seem to differ from the other factes, because it *modifies* the
value instead of checking it. Is this correct?
2. Is this change kept after validation? Will a schema parser report the
value according to the whiteSpace facet? Or is the modified value only
for validation purposes?
3. Does whiteSpace have priority over the other facets? That is, is this
element correct
<a>1234</a>
according to this simple type:
<xsd:simpleType name="something">
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="collapse"/>
<xsd:length value="4"/>
</xsd:restriction>
</xsd:simpleType>
Thanks,
Gustaf
1. It seem to differ from the other factes, because it *modifies* the
value instead of checking it. Is this correct?
2. Is this change kept after validation? Will a schema parser report the
value according to the whiteSpace facet? Or is the modified value only
for validation purposes?
3. Does whiteSpace have priority over the other facets? That is, is this
element correct
<a>1234</a>
according to this simple type:
<xsd:simpleType name="something">
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="collapse"/>
<xsd:length value="4"/>
</xsd:restriction>
</xsd:simpleType>
Thanks,
Gustaf