W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2006

[Bug 3597] SeqExprCast-179 input valid?

From: <bugzilla@wiggum.w3.org>
Date: Sun, 13 Aug 2006 14:21:41 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GCGqT-00077P-6Y@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3597





------- Comment #1 from mike@saxonica.com  2006-08-13 14:21 -------
The pattern facet restriction "[^YM]*[DT].*" is saying "if the lexical value is
valid for xs:duration and matches "[^YM]*[DT].*", then it is valid for
xs:dayTimeDuration". 

Or to put it another way "a duration is a valid dayTimeDuration if it contains
a D or a T that isn't preceded by a Y or an M."

PDT3H2M10.001S is not valid in the lexical space of xs:duration, so it's
irrelevant whether it matches the restricted pattern or not.

Michael Kay
personal response
Received on Sunday, 13 August 2006 14:21:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:44 GMT