Just to touch on the ISO 8601 aspect of the question below, perhaps the
W3C Date and Time Formats (profile of ISO 8601)at
http://www.w3.org/TR/NOTE-datetime may be of interest to you.
From: Joe Zitzelberger [mailto:[log in to unmask]]
Sent: 22 May 2001 18:39
To: [log in to unmask]
Subject: Data Format Standards
I am curious to determine if there are any commonly used standards for
DATEs, TIMEs, CURRANCYs, and NUMBERs that are evolving for use with XML.
My first thought is that all DATEs or TIMEs follow ISO-8601, but this
makes everything a timestamp and seems somewhat wasteful. I have
asking for numbers in all manner of different forms, some want leading
zeros, some want implied decimals, some want an assumed + sign. Since
are just converting out client interaction over to XML we have a great
window to lay out some good standards for these data types that will
out maintenance pain in years to come. But what are good standards?
My primary objective is to make things work as 'nicely' as possible with
third-party tools, but I am also concerned with some usability issues in
our slightly odd environment (DOM for COBOL running in CICS/390, SAX for
COBOL Batch work on OS/390).
If anyone has a reference to some common practices document, or even
an opinion on this I would love to hear it.