L
linkspeed
Hi, I tried following element definition in MSXML 4.0
<xsd:element name="Identifier">
<xsd:simpleType>
<xsd:restriction base="xsd:token">
<xsdattern value=".*"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
It can validate XML text like: <Identifier>abbbb</Identifier>
But not :
<Identifier>
abbbb</Identifier>
and
<Identifier>abbbb
</Identifier>
and
<Identifier>
abbbb
</Identifier>
Isn't token a white space collapsed string?
Cheers
Linkspeed
<xsd:element name="Identifier">
<xsd:simpleType>
<xsd:restriction base="xsd:token">
<xsdattern value=".*"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
It can validate XML text like: <Identifier>abbbb</Identifier>
But not :
<Identifier>
abbbb</Identifier>
and
<Identifier>abbbb
</Identifier>
and
<Identifier>
abbbb
</Identifier>
Isn't token a white space collapsed string?
Cheers
Linkspeed