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

pattern facet on list datatypes

From: Jeni Tennison <jeni@jenitennison.com>
Date: Thu, 17 Jan 2002 16:27:20 +0000
Message-ID: <125892179055.20020117162720@jenitennison.com>
To: xmlschema-dev@w3.org
Hi,

Please could someone clarify whether the pattern facet is applies to
list datatypes.

In Section 2.5.1.2 List datatypes, it states:

 "When a datatype is ·derived· from a ·list· datatype, the following
  ·constraining facet·s apply:

  * ·length·
  * ·maxLength·
  * ·minLength·
  * ·enumeration·
  * ·pattern·
  * ·whiteSpace·"
                      http://www.w3.org/TR/xmlschema-2/#atomic-vs-list

However, in the description of the built-in list data types,
xs:NMTOKENS, xs:IDREFS and xs:ENTITIES, the lists of constraining
facets does not include the pattern facet.

Should we conclude from this that xs:NMTOKENS, xs:IDREFS and
xs:ENTITIES are exceptions to the general rule about list data types,
or is this an error in the Rec.? If the latter, is it that the pattern
facet does not apply to list datatypes, or that it does apply to those
three list datatypes?

Thanks,

Jeni
---
Jeni Tennison
http://www.jenitennison.com/
Received on Thursday, 17 January 2002 11:27:22 GMT

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