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

Question regarding attribute restriction

From: Robert McCarthy <rmccarthy@vasocor.com>
Date: Wed, 22 May 2002 09:53:11 -0400 (EDT)
To: <xmlschema-dev@w3c.org>
Message-ID: <001401c20197$20e03810$1c01a8c0@DDGDQ511>

Is the following restriction on unitsOfMeasure1 valid, i.e., can I use the
tag <xs:enumeration value=""/> in the restriction?  Thanks!


<xs:element name="height">
	<xs:attribute name="unitsOfMeasure1" use="required">
			<xs:restriction base="xs:token">
				<xs:enumeration value="ft"/>
				<xs:enumeration value=""/>
Received on Friday, 24 May 2002 05:05:44 UTC

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