[Bug 3040] Date and dateTime formats do not allow some valid ISO 8601 values

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3040





------- Comment #3 from davep@iit.edu  2006-09-27 03:21 -------
(In reply to comment #2)
> I'm not sure what spec you are suggesting I have misunderstood.  I am referring
> to ISO 8601:2004 section 4.1.2.3 "Representation with reduced accuracy". 

That was understood'; however by "the spec" I meant the Schema Recommendation
you are commenting on.  When you ask whether '19' can be the lexical
representation of the year 19 CE (AD), that tells me you don't understand the
Schema Rec.  It's quite clear that lexical representations of years must have
at least four digits.

Specivically, (In reply to comment #0)

>                          Therefore using 10 for 10 AD should not be allowed. 
>It really represents the 1000's.  The format 0010 should be used for the year
>10 AD and -0010 should be used for year 10 BC.

The two-digit character string '10' is not allowed by the Schema Rec as a
lexical representation of the year 10 CE (AD); the only acceptable lexical
representation is '0010'.  However, using the standard notation adopted by
astronomers many years ago and which is adopted by the Schema Rec and is
specified by ISO 8601:2000, '-0010' turns out to represent the year -11 BCE
(BC) (since the year 0000 is -1 BCE, -0001 is -2 BCE, etc.  (I don't have a
copy of ISO 8601:2004, so I can't verify that they didn't change their mind
four years later--but I've been led to believe that they did not.)

Received on Wednesday, 27 September 2006 03:21:55 UTC