[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Names, Dates, Etc.

  • From: Andrew Layman <andrewl@m...>
  • To: "'Simon St.Laurent'" <simonstl@s...>, XML-Dev Mailing list <xml-dev@i...>
  • Date: Wed, 13 Jan 1999 13:09:49 -0800

xml dates
The idea to build on existing standards is a good one.  As Simon says below,
there are standards for dates (e.g. ISO 8601) and a number of other
notations.  

Some of the issues raised here are being addressed in the XML "datatypes"
effort.  One key thing to keep in mind is the distinction between a datatype
in the sense of a notation (e.g. ISO 8601) versus structured element
content, which is more a matter of standard element types, and is an area in
which Namespaces should help people construct and organize standard
libraries of element types.

-----Original Message-----
From: Simon St.Laurent [mailto:simonstl@s...]
Sent: Wednesday, January 13, 1999 12:51 PM
To: XML-Dev Mailing list
Subject: Re: Names, Dates, Etc.


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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following
message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)

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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.