- From: Anli Shundi <ashundi@tibco.com>
- Date: Thu, 14 Apr 2005 12:06:44 -0400
- To: Michael Kay <mike@saxonica.com>
- CC: "'Kasimier Buchcik'" <kbuchcik@4commerce.de>, "'XML-SCHEMA'" <xmlschema-dev@w3.org>
Michael Kay wrote: >>The spec lays out the order in 3.2.6.2 [1] and clarifies >>normalization. >> >>P12M is indeed P1Y but the comparison to P365D fails. >> >>[1] http://www.w3.org/TR/xmlschema-2/#duration-order >> > > > I agree that this implies that durations are normalized for the purpose of > ordering, but it's not clear that the order relation and equality matching > (e.g. for matching the enumeration facet) have anything to do with each > other. It's clearly stated elsewhere in the spec that equality is based on > identity in the value space, and the value space for duration appears to > treat P1Y and P12M as distinct values. > > I would like you to be right, but I don't see this in the spec. > > Michael Kay > http://www.saxonica.com/ > > > I believe that's something to be clarified in 1.1 -- Anli Shundi ashundi@tibco.com TIBCO Software Inc. (919) 969 6518 www.tibco.com
Received on Thursday, 14 April 2005 16:06:59 UTC