views:

22

answers:

1

The XML schema spec seems vague on how to interpret an xs:time value when no time zone is specified. (See section 3.2.8.) Is there a common consensus on this (e.g. UTC or the local time zone)?

+1  A: 

You got close to the right point in the spec. See slightly above, under dateTime:

"Local" or untimezoned times are presumed to be the time in the timezone of some unspecified locality as prescribed by the appropriate legal authority;

Most systems I have dealt with make the local time assumption.

xcut
"some unspecified locality as prescribed by the appropriate legal authority" - I suppose this does imply some local time zone.I was asking specifically about xs:time, but given the vagueness of the spec for this data type I suppose it's reasonable to take a steer from xs:dateTime.
David Easley