W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2002

Re: XML Schemas and the Enumeration Facet

From: Brown, Lee <Lee.Brown@standardregister.com>
Date: Fri, 16 Aug 2002 10:52:53 -0600
Message-Id: <>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
I have a question about enumerations, if I have the following schema
definition, can I have an empty string value for the attribute CarType, like
CarType="" ?

<xsd:schema targetNamespace="http://www.abc.com"
	<xsd:attribute name="CarType">
			<xsd:restriction base="xsd:NMTOKEN">
				<xsd:enumeration value="Buick" />
				<xsd:enumeration value="Chevy" />
				<xsd:enumeration value="Ford" />
				<xsd:enumeration value="Mercedes" />

Lee Brown
( STAR, iReorder, DAA )

  <<Brown, Lee.vcf>>

Received on Friday, 16 August 2002 20:30:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:01 GMT