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

 


Help: OASIS Mailing Lists Help | MarkMail Help

xmile message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [xmile] XML namespace / date format


Hi Will,

I thought we'd already talked about changing the date format as a committee and decided, but I can find no reference to that.  I have no problem changing the date format.  Sounds like a good idea!

Karim



On Thu, May 29, 2014 at 6:57 PM, Paul Knight <paul.knight@oasis-open.org> wrote:
I like the authoritative citations!  :^)

It has the nice property of sorting effectively by the date - I use it for my media files.  (will work for the next 7985 years, anyway!)


On Thu, May 29, 2014 at 6:45 PM, Will Glass-Husain <wglass@forio.com> wrote:
Thanks Paul!

Regarding dates, besides the wikipedia page, please consult the following authoritative citation.


I'm a big fan of ISO 8601.   We've converted all the Forio APIs to use this format.   It's international (time zone aware), precise, yet human readable.   (previously we used epoch time, e.g. 1401403449, which is hard for humans to understand).

WILL


On Thu, May 29, 2014 at 3:34 PM, Karim Chichakly <kchichakly@iseesystems.com> wrote:
Thanks Paul for clarifying that.  The namespace listed on the very first page of the spec is:

·         http://docs.oasis-open.org/xmile/ns/XMILE/v1.0

(as Paul stated).  It is incorrect in Chapter 2.  Will, you are the first to catch that!

Thanks,

Karim

PS Still thinking about dates.  At some point we already looks at standards around this, so I want to track that down.



On Thu, May 29, 2014 at 6:13 PM, Paul Knight <paul.knight@oasis-open.org> wrote:
Hi Will and all,

(Also copying Chet Ensign, OASIS TC Administrator.)

I noted the discussion of namespaces here, and wanted to note that the namespaces for OASIS specifications are expected to follow the OASIS Naming Directives [1] which expect a root beginning:

for the XMILE TC.

Within the initial document template for XMILE Version 1.0 [2], an appropriate namespace with a versioning component was listed:

This namespace was requested by Karim Chichakly in the template request ticket [3].  As I recall, Karim had some discussions with the TC Admin team regarding namespaces before the template request.

The TC is certainly at liberty to develop other namespace structures as needed, as long as they are under the root of http://docs.oasis-open.org/xmile/ns/.

Please let us know if you have any questions or concerns, or would like information on the approaches used by other TCs for namespaces.

[2] XMILE email list delivery of initial template:

Best regards,
Paul
***********************
From: Will Glass-Husain <wglass@forio.com>
Date: Thu, May 29, 2014 at 3:29 PM
Subject: [xmile] XML namespace / date format
To: xmile@lists.oasis-open.org


Hi,

Gary and I have been meeting on the XML schema.  We've found a few small inconsistencies.  I'd like to change the spec on several small points.  Anyone object?

(1) The namespace in the spec is 

I'd like to see it be

or maybe

This will let us version the namespace later.  I've seen this approach in most XML standards.

(2) The format for dates in the spec is 

Date created:  <created> w/“mm/dd/yyyy hh:mm Xm”, where “X” is “a” or “p”
(leading zeroes suppressed)

I'd prefer switching to the XML type xsd:date and xsd:dateTime types, which are based on ISO-8601

I'm a big fan of this format.  It's easily computer parseable and human readable.  For simple dates it is
2014-05-29

for dates and times you append 24 hour time after a "T".
2014-05-29T13:27:00

and for time zone you add "Z" for GMT or an offset for local time
2014-05-29T13:27:00Z
2014-05-29T13:27:00-08:00        

We don't need to define all this in the spec, just reference the ISO-8601 format and specify xsd:date or xsd:dateTime in the schema.

Any objections?

WILL
-- 
William Glass-Husain   /forio  |  +1 (415) 440 7500 x89  |  forio.com

******************
--
Paul Knight  - Tel: +1 781-861-1013
OASIS - Advancing open standards for the information society
Document Process Analyst





--
William Glass-Husain   /forio  |  +1 (415) 440 7500 x89  |  forio.com




--
Paul Knight  - Tel: +1 781-861-1013
OASIS - Advancing open standards for the information society
Document Process Analyst




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]