W3C home > Mailing lists > Public > www-forms@w3.org > September 2002

Re: [Moderator Action] RE: Question about open enumeration

From: Thierry Michel <tmichel@w3.org>
Date: Tue, 3 Sep 2002 15:28:23 +0200
Message-ID: <0c0e01c2534d$c76d9530$228a608a@inria.fr>
To: "Brown, Lee" <Lee.Brown@standardregister.com>, <www-forms@w3.org>

sent to 'www-forms@w3.org

----- Original Message -----
From: "Brown, Lee" <Lee.Brown@standardregister.com>
To: <www-forms@w3.org>
Sent: Friday, August 16, 2002 3:14 PM
Subject: [Moderator Action] RE: Question about open enumeration


> 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"
> xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
> <xsd:attribute name="CarType">
> <xsd:simpleType>
> <xsd:restriction base="xsd:NMTOKEN">
> <xsd:enumeration value="Buick" />
> <xsd:enumeration value="Chevy" />
> <xsd:enumeration value="Ford" />
> <xsd:enumeration value="Mercedes" />
> </xsd:restriction>
> </xsd:simpleType>
> </xsd:attribute>
> </xsd:schema>
>
> Thanks,
>
> Lee Brown
> ( STAR, iReorder, DAA )
>
>  <<Brown, Lee.vcf>>
>
Received on Tuesday, 3 September 2002 09:28:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:52 GMT