- From: <bugzilla@wiggum.w3.org>
- Date: Thu, 14 May 2009 10:44:22 +0000
- To: www-xml-schema-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6908
Summary: Definition of pattern facet
Product: XML Schema
Version: 1.1 only
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: minor
Priority: P2
Component: Datatypes: XSD Part 2
AssignedTo: David_E3@VERIFONE.com
ReportedBy: mike@saxonica.com
QAContact: www-xml-schema-comments@w3.org
CC: cmsmcq@blackmesatech.com
The definition of the pattern facet in 4.3.4 says: "[Definition:] pattern is
a constraint on the ·value space· of a datatype which is achieved by
constraining the ·lexical space· to ·literals· which match each member of a set
of patterns."
This seems to invite the incorrect reading that if there is more than one
xs:pattern element in a restriction, the supplied literal must match each of
them; whereas the detailed specification makes clear that it need only match
one of them.
Suggestion (which also avoids the apparent cyclicity in the current
definition):
"[Definition:] pattern is a constraint on the ·value space· of a datatype
which is expressed by restricting the ·lexical space· to ·literals· that match
one or more regular expressions."
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 14 May 2009 10:44:31 UTC