W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 1999

date/time

From: Dan Libby <danda@netscape.com>
Date: Sun, 30 May 1999 20:19:07 -0700
Message-ID: <3751FFAB.14EAA146@netscape.com>
To: www-xml-schema-comments@w3.org
In reference to
http://www.w3.org/1999/05/06-xmlschema-2/#built-in-generated-datatypes

Please ignore anything that is in the spec that I missed.

1) I don't see any provision for unix time integers (# of seconds since
1970), as returned by C's time() function. This is a very useful way of
encoding timestamps (date & time) programmatically, as it requires no
conversion and works with almost every modern programming language.  It
is easily translated into local time, gmt, etc, and is accurate to the
second, unlike many of the IS0 8601 encoded dates.

2) Similarly, it would be nice if output from unix's 'date' utility was
also an accepted format, as many unix scripts use this utility.  Here is
an example:

libby: ~>date
Sun May 30 19:24:15 PDT 1999

3) Glad to see that numeric ranges,  string (and binary) length is in
there.

4) I would like to use xml-schemas (or equivalent) in a current project
I have, where I must validate xml data.  Is there any software available
yet that conforms to the draft, or do you know of any being worked on?
My language of choice is python...

thx.

Dan Libby
Netcenter Engineering
Netscape Communications.




Received on Sunday, 30 May 1999 23:12:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:46 GMT