RE: SimpleType restriction

> e MaxLength constraining facet is prohibited for 'Decimal'.

indeed, http://www.w3.org/TR/xmlschema-2/#decimal-facets

Asir

-----Original Message-----
From: xmlschema-dev-request@w3.org
[mailto:xmlschema-dev-request@w3.org]On Behalf Of Nell Golding
Sent: Thursday, November 07, 2002 8:27 AM
To: xmlschema-dev@w3.org
Subject: SimpleType restriction




Hallo,

here is a simpleType definition the causes no problems by validating with
XMLSpy.
In the same time MSXML 4.0 (Microsoft XSD Schema Validator and Topologi
Schematron) reports an error: the MaxLength constraining facet is prohibited
for 'Decimal'.

	<xs:simpleType name="Project_number">
		<xs:restriction base="xs:nonNegativeInteger">
			<xs:maxLength value="10"/>
		</xs:restriction>
	</xs:simpleType>

Does this definition violate W3C specifications?


Thank you,
Nell G.





_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus

Received on Thursday, 7 November 2002 08:50:42 UTC