[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: <enumeration> of duration types

From: Michael Kay <mike@saxonica.com>
Date: Thu, 14 Apr 2005 16:05:18 +0100
To: "'Kasimier Buchcik'" <kbuchcik@4commerce.de>, "'XML-SCHEMA'" <xmlschema-dev@w3.org>
Message-ID: <8069.28252.1120563508@automsgid.listhub.w3.org>
RE: <enumeration> of duration types

> should a value of "P12M" be considered a valid value for a "duration"
> based simple type with an <enumeration> value of "P1Y"?

I believe the answer is strictly-speaking no, though Saxon currently allows
it. (Oddly I was just today starting to implement the code that enforces the
stricter interpretation.)

The schema spec says that the value space contains six separate numeric
components and it says nothing about normalizing the value. Equality is
based on identity in the value space.

Michael Kay
Received on Thursday, 14 April 2005 15:05:27 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.