- From: <bugzilla@wiggum.w3.org>
- Date: Sun, 13 Aug 2006 12:43:28 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3597 Summary: SeqExprCast-179 input valid? Product: XML Query Test Suite Version: 0.9.4 Platform: Macintosh OS/Version: All Status: NEW Severity: normal Priority: P2 Component: XML Query Test Suite AssignedTo: andrew.eisenberg@us.ibm.com ReportedBy: martin@x-hive.com QAContact: public-qt-comments@w3.org SeqExprCast-179 is esentially this: (: Purpose: 'PDT3H2M10.001S' is an invalid lexical representation for xs:dayTimeDuration. :) xs:dayTimeDuration("PDT3H2M10.001S") The XQuery DM spec specifies xs:dayTimeDuration to be an extension of xs:duration. The given string matches the xs:duration pattern (PnYnMnDTnHnMnS, last n may be a fraction). The restriction is specified to be: "[^YM]*[DT].*" My mad regular expression skills and sed tell me, this is a legal value for that restriction: # echo PDT3H2M10.001S | sed -e 's|[^YM]*[DT].*|Matched!|' Matched!
Received on Sunday, 13 August 2006 12:43:36 UTC