- From: <bugzilla@jessica.w3.org>
- Date: Sat, 14 May 2011 15:16:38 +0000
- To: www-xml-schema-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12657
Summary: Regex for durationLexicalRep in 3.3.7.2 Lexical
Mapping
Product: XML Schema
Version: 1.1 only
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Datatypes: XSD Part 2
AssignedTo: David_E3@VERIFONE.com
ReportedBy: saasha@acc.umu.se
QAContact: www-xml-schema-comments@w3.org
CC: cmsmcq@blackmesatech.com
Hello!
According to
http://www.w3.org/TR/xmlschema11-2/#nt-durationRep the regex should "satisfy
all of the following three" requirements:
> the fields occur in the proper order.
> at least one field occurs.
> 'T' is not the final character
The regex given thereafter (on six lines) does not seem to satisfy the second
requirement. It seems that five question marks need to be removed from the
regex. In other words, replacing
|([0-9]+D)?(
by
|([0-9]+D)(
and the four occurrences of
|([0-9]+M)?(
by
|([0-9]+M)(
seems to solve the problem.
Regards!
Saašha,
--
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 Saturday, 14 May 2011 15:16:40 UTC