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 27508 - parse-ietf-date grammar inconsistent with prose
Summary: parse-ietf-date grammar inconsistent with prose
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Working drafts
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-04 03:30 UTC by Liam R E Quin
Modified: 2015-02-10 17:03 UTC (History)
0 users

See Also:


Attachments

Description Liam R E Quin 2014-12-04 03:30:21 UTC
The grammar for parse-ietf-date has

S ::= 	x09 | x0A | x0D | x20

but the prose (in a Note) says, the function... Accepts one or more whitespace characters (x20, x09, x0A, x0D) wherever a single space is required, and allows whitespace to be omitted where it is not required for parsing

Probably it would be clearer to use

S ::= 	( x09 | x0A | x0D | x20 )+
Comment 1 Liam R E Quin 2014-12-09 17:22:55 UTC
The WG accepted this change to the grammar for parse-ietf-date
Comment 2 Michael Kay 2015-02-10 17:03:57 UTC
The change appears in the Dec 2014 CR publication.