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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Names, Dates, Etc.

[ Lists Home | Date Index | Thread Index ]
  • From: "Simon St.Laurent" <simonstl@simonstl.com>
  • To: XML-Dev Mailing list <xml-dev@ic.ac.uk>
  • Date: Wed, 13 Jan 1999 15:51:27 -0500

At 12:34 PM 2/6/99 -0800, David LeBlanc wrote:
>How about a novel idea: use the ISO standards for those things where they
>exist. I'm pretty sure there's an ISO standard for dates for example.

The problem isn't that there are no standards for dates - there certainly
is an ISO date standard (8601) - but that there is no standard for
representing dates in XML.  Where does the date go in an element?  Should
it be a single string in an attribute, in element content, broken into
year/month/day, or something else creative?

Dates are the easiest because they have been thoroughly serialized (by the
ISO and others) and because schemas are likely to reference them.

Names and currency are both more complicated, as are other 'basic' things
like phone numbers and (especially) addresses.  If someone's really
standardized these items, especially if they've done it in XML, I'd love to
know.  X.500's done some on the directory information front, but I haven't
seen much call for using that framework in XML.  Maybe we'll go that way.
Who knows?

Simon St.Laurent
XML: A Primer / Cookies
Sharing Bandwidth 
Building XML Applications (March)
http://www.simonstl.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

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

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