W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2002

Re: AS - AttributeDecl - representation of enumeration constraint

From: Benjamin C. Chang <Ben.Chang@oracle.com>
Date: Tue, 09 Apr 2002 19:06:22 -0700
Message-ID: <3CB39E1E.F349ECC2@oracle.com>
To: Stefan Wachter <Stefan.Wachter@gmx.de>
CC: www-dom@w3.org
Stefan Wachter wrote:

> Dear all!
>
> In the current draft of the abstract schemas object model the allowed
> strings for an attribute with an enumeration constraint are represented by a
> comma-separated list.
>
> The problem is that the the enumeration facet of XML-Schema always arbitrary
> strings to be enumerated. Therefore XML-Schema enumeration constraint can
> not always be expressed with a corresponding AS attribute declaration.
>
> I propose to have a list of arbitrary string to represent the enumeration
> constraint.
>
> Thanks for your attention,
> --Stefan

The AS ET instead decided that the representation of valid attribute values be
separated by vertical bars, as in XML 1.0.

Ben
Received on Tuesday, 9 April 2002 22:06:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT