Ashok has caused me to look closely at the regex given in the text of each derived-from-duration datatype, and I find that I forgot to escape the '-' and '.' characters. They should be escaped: \-?P([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+(\.[0-9]+)?S)?)? \-?P([0-9]+Y)?([0-9]+M)? for dayTimeDuration and yearMonthDuration respectively. (Note that these regexes by themselves do not exactly define the lexical spaces of their respective datatypes, but they do provide an adequate regex for use in derivation from duration. Exact regexes would be messier; compare the regex for duration itself.) -- Dave Peterson SGMLWorks! davep@iit.eduReceived on Tuesday, 7 September 2004 14:38:41 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:35 GMT