W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2002

SimpleType restriction

From: Nell Golding <nell_golding@hotmail.com>
Date: Thu, 07 Nov 2002 13:27:21 +0000
To: xmlschema-dev@w3.org
Message-ID: <F146beUzmRf6Ci6nx8d00000274@hotmail.com>


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:35 GMT