OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: xsd:year (and my question)

[ Lists Home | Date Index | Thread Index ]
  • From: Miloslav Nic <nicmila@idoox.com>
  • To: Elliotte Rusty Harold <elharo@metalab.unc.edu>
  • Date: Fri, 22 Dec 2000 11:32:41 +0100

Standard says:
year is the set of Gregorian calendar years as defined in ISO 8601:

ISO 8601 permits both full and truncatd syntax:

http://zvon.org/other/datesAndTimes/OUTPUT/index.html


Will it be possible to use whole ISO 8601 in the final recommendation or
only a subset of the ISO 8601?


Elliotte Rusty Harold wrote:
> 
> The xsd:year type in the W3C XML schema language represents a year
> such as 1999, 2000, or 2001. Three questions:
> 
> 1. Can it handle years in the first millenium  like 987? 234? 62? or
> 6? Can I specify these with the minimum number of digits logically
> required? Or do I have to write 0987, 0062, and 0006?
> 
> 2. How is a year before 1. C.E. represented? For example how would I
> specify the year when Julius Caesar crossed the Rubicon? -49?
> 
> 3. What about years in the far future like 10000? 100000? 1000000?
> 
> --
> 
> +-----------------------+------------------------+-------------------+
> | Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
> +-----------------------+------------------------+-------------------+
> |                  The XML Bible (IDG Books, 1999)                   |
> |              http://metalab.unc.edu/xml/books/bible/               |
> |   http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/   |
> +----------------------------------+---------------------------------+
> |  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
> |  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
> +----------------------------------+---------------------------------+

-- 
******************************************
<firstName> Miloslav </firstName>    
<surname>   Nic      </surname>     

<mail>    nicmila@idoox.com    </mail>   
<support> http://www.zvon.org  </support>
<zvonMailingList> 
    http://www.zvon.org/index.php?nav_id=4 
</zvonMailingList>




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS