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


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


here is a simpleType definition the causes no problems by validating with
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"/>

Does this definition violate W3C specifications?

Thank you,
Nell G.

MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
Received on Thursday, 7 November 2002 08:50:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:06 UTC