This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2717 - 10.3.2.1: Invalid example, "P4D251M"
Summary: 10.3.2.1: Invalid example, "P4D251M"
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: Other Linux
: P2 normal
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 13:34 UTC by Frans Englich
Modified: 2006-01-24 15:24 UTC (History)
0 users

See Also:


Attachments

Description Frans Englich 2006-01-15 13:34:08 UTC
Hi,      
     
To me it looks like the example "P4D251M", found at the very end of 10.3.2.1    
Lexical representation, is wrong.     
     
The T designator is absent even though there is a time item, "251M". This can     
be contrasted to "The designator 'T' ·must· be absent if and only if all of the     
time items are absent." I think the corrected example reads "P4DT251M", meaning     
four days and 251 minutes.     
    
However, my knowledge is shallow at best in this area. Saxon 8.6 fails to parse 
the example.    
    
Regards,    
Frans
Comment 1 Ashok Malhotra 2006-01-15 19:25:38 UTC
Yup!  That's a typo.  Fixed.