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:28:32 UTC