- From: <bugzilla@jessica.w3.org>
- Date: Mon, 15 May 2017 16:41:30 +0000
- To: www-xml-schema-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=30111
Bug ID: 30111
Summary: durationLexicalRep regular expression missing
parentheses for year
Product: XML Schema
Version: 1.1 only
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Datatypes: XSD Part 2
Assignee: David_E3@VERIFONE.com
Reporter: bjkail@gmail.com
QA Contact: www-xml-schema-comments@w3.org
CC: cmsmcq@blackmesatech.com
Target Milestone: ---
In the bulleted list of individual regular expressions for durationLexicalRep
(https://www.w3.org/TR/xmlschema11-2/#nt-duTFrag), the first regular expression
("only strings in which the fields occur in the proper order") is:
-?P[0-9]+Y?([0-9]+M)?([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+(\.[0-9]+)?S)?)?
Parentheses are missing around the year number. It should be:
-?P([0-9]+Y)?([0-9]+M)?([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+(\.[0-9]+)?S)?)?
The all-in-one regular expression appears to be correct, but it does contain
superfluous parentheses around required fragments.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 15 May 2017 16:41:38 UTC