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

RE: SimpleType restriction

From: Asir S Vedamuthu <asirv@webmethods.com>
Date: Thu, 7 Nov 2002 08:48:05 -0500
To: "Nell Golding" <nell_golding@hotmail.com>, <xmlschema-dev@w3.org>
Message-ID: <OKEBJFDOCNPMPLOONLOIAENBDDAA.asirv@webmethods.com>

> 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 GMT

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