[Bug 3597] SeqExprCast-179 input valid?

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 UTC