- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 17 Jan 2002 16:49:06 +0000
- To: Jeni Tennison <jeni@jenitennison.com>
- Cc: xmlschema-dev@w3.org
Jeni Tennison <jeni@jenitennison.com> writes:
> 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?
This is a recorded issue against the REC [1] -- an erratum is pending
(pattern is OK on all lists, including xs:NMTOKENS etc.)
ht
[1] http://www.w3.org/2001/05/xmlschema-rec-comments#pfipattern
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
W3C Fellow 1999--2001, part-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
Received on Thursday, 17 January 2002 11:49:10 UTC