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

Re: Meaning of "enumeration" and "pattern" in xs:list

From: Jeni Tennison <jeni@jenitennison.com>
Date: Fri, 30 May 2003 10:18:09 +0100
Message-ID: <69665483825.20030530101809@jenitennison.com>
To: ht@cogsci.ed.ac.uk (Henry S. Thompson)
CC: "Wiedmann, Jochen" <jochen.wiedmann@softwareag.com>, "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>

Henry wrote:
> Jeni Tennison <jeni@jenitennison.com> writes:
> <snip/>
>> > be a valid constraint? And if so, would "1 3 2" be a valid value or
>> > not?
>> 
>> Yes, both would be valid constraints.
>
> But if the first is the constraint, the second is _not_ a valid
> value. Lists are ordered.

Yes, sorry, I misread the question as saying "would "1 3 2" be a valid
value for the value attribute of the <xs:enumeration> element" rather
than "would "1 3 2" be a valid value for the resulting data type".

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Friday, 30 May 2003 05:18:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:37 GMT