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 1891 - R-128: Question re: leading zeros for gYearMonth and gMonth (clarifying corrigendum needed)
Summary: R-128: Question re: leading zeros for gYearMonth and gMonth (clarifying corri...
Status: ASSIGNED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Datatypes: XSD Part 2 (show other bugs)
Version: 1.0 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords: decided
Depends on:
Blocks:
 
Reported: 2005-08-26 13:43 UTC by Sandy Gao
Modified: 2007-03-29 18:48 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-08-26 13:43:56 UTC
It is not precisely clear from the XML Schema Datatypes specification whether 
leading zeros are permitted in instances of gYearMonth and gYear when (the 
absolute value of) the year in question is outside the range of 0001 to 9999. 
However, in the otherwise analogous passage of the specification of dateTime, 
such ambiguity is not present (such leading zeros are prohibited), and a 
reasonable interpretation in these other two cases is to straightforwardly 
follow that precedent. 

See bullet (vii) from :
http://lists.w3.org/Archives/Public/www-xml-schema-
comments/2002JanMar/0873.html
Comment 1 C. M. Sperberg-McQueen 2005-09-09 16:11:07 UTC
At the WG call of 2005-09-09, Dave Peterson reported that he
had made a wording proposal to fix this bug, at
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Sep/0045
Comment 2 Sandy Gao 2005-10-04 20:43:45 UTC
Discussed at 2005-09-23 telecon. Accepted the proposed wording.