W3C home > Mailing lists > Public > public-exi@w3.org > December 2017

RE: Any interest in participating Canonical EXI interoperability test? canonical time representations

From: Takuki Kamiya <tkamiya@us.fujitsu.com>
Date: Mon, 18 Dec 2017 10:52:17 -0800
To: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>
CC: "Peintner, Daniel" <daniel.peintner.ext@siemens.com>, Carine Bournez <carine@w3.org>, Don Brutzman <brutzman@nps.edu>, "public-exi@w3.org" <public-exi@w3.org>
Message-ID: <23204FACB677D84EBD57175AB7B5A71C05192715B570@FMSAMAIL.fmsa.local>
Hi Michael,

Thank you for your valuable input to the discussion on the use of the algorithm for 
adding a duration to a time instance as described in XML schema specification.

In today's EXI telecon, people wondered what essential changes (if any) XSD 1.1 [1]
brought about to the algorithm described in XSD 1.0 [2].

Since we do not plan to update EXI 1.0 (core spec) [3] that is based on XSD 1.0 spec, 
and given that Canonical EXI is a layer on top of EXI 1.0, the scope of schema constructs
used by Canonical EXI still continues to be bound by XSD 1.0. If we can confirm that 
there is no essential change in XSD 1.1 relative to XSD 1.0 with regards to the arithmetic, 
we can mention in the Canonical EXI spec that the algorithm in XSD 1.0 is still valid in XSD 1.1.

Can you confirm on this point? If there are any essential changes in the arithmetic, it would
also be very helpful if you can describe some of those changes.

[1] https://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#sec-dt-arith
[2] http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#adding-durations-to-dateTimes
[3] http://www.w3.org/TR/exi/

Thank you,

Takuki Kamiya
Fujitsu Laboratories of America


-----Original Message-----
From: C. M. Sperberg-McQueen [mailto:cmsmcq@blackmesatech.com] 
Sent: Monday, December 11, 2017 2:36 PM
To: Don Brutzman <brutzman@nps.edu>
Cc: C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com>; Peintner, Daniel <daniel.peintner.ext@siemens.com>; Takuki Kamiya <tkamiya@us.fujitsu.com>; Carine Bournez <carine@w3.org>; public-exi@w3.org
Subject: Re: Any interest in participating Canonical EXI interoperability test? canonical time representations


> On Dec 11, 2017, at 9:18 AM, Don Brutzman <brutzman@nps.edu> wrote:
> 
> 
> 2. Next, XML Schema reference says
> 
> 	3.2.7.2 Canonical representation
> 	https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#dateTime-canonical-representation
> 
> ===============================
> 	"Except for trailing fractional zero digits in the seconds representation, '24:00:00' time representations, and timezone (for timezoned values), the mapping from literals to values is one-to-one. Where there is more than one possible representation, the canonical representation is as follows:
> 
> 	The 2-digit numeral representing the hour must not be '24';
> 	The fractional second string, if present, must not end in '0';
> 	for timezoned values, the timezone must be represented with 'Z' (All timezoned dateTime values are UTC.).
> ===============================
> 
> 

Please, please don't build things on the XSD 1.0 date / time types; use
XSD 1.1 instead.  

In addition to have a much more explicit treatment of the mappings between 
values and lexical representations, 1.1 shifts the treatment of time zones to 
agree with the date/time types used in XPath 2.0 and higher, XSLT 2.0 and 
higher, and XQuery, which do retain time zones.  

-CMSMcQ

********************************************
C. M. Sperberg-McQueen
Black Mesa Technologies LLC
cmsmcq@blackmesatech.com
http://www.blackmesatech.com
********************************************
Received on Monday, 18 December 2017 18:54:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 18 December 2017 18:54:08 UTC