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

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

In Section 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·"

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?


Jeni Tennison
Received on Thursday, 17 January 2002 11:27:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:54 UTC