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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] What are the characteristics of a good type system for XML

[ Lists Home | Date Index | Thread Index ]
  • To: "Bob Foster" <bob@objfac.com>,"John Cowan" <cowan@mercury.ccil.org>
  • Subject: RE: [xml-dev] What are the characteristics of a good type system for XML?
  • From: "Dare Obasanjo" <dareo@microsoft.com>
  • Date: Thu, 15 May 2003 18:22:16 -0700
  • Cc: <xml-dev@lists.xml.org>
  • Thread-index: AcMbMh9JY+maRzBeR7ysuPjDa8jTsQABl/zA
  • Thread-topic: [xml-dev] What are the characteristics of a good type system for XML?

What do you mean by normalization? The classic example of
incommensurable durations from W3C XML Schema is attempting to order the
durations 

P1M, P2M, P59D, P28D, P30D, P60D, P31D 

Which is larger P1M or P29D ? 

What is the correct value of 

 (2004-01-30 + P1M) + P1M

or 

 2004-01-30 + (P1M + P1M)

and should the values be the same?

-- 
PITHY WORDS OF WISDOM 
Any simple theory will be worded in the most complicated way.


This posting is provided "AS IS" with no warranties, and confers no
rights. 

>  
>  
> -----Original Message-----
> From: Bob Foster [mailto:bob@objfac.com] 
> Sent: Thursday, May 15, 2003 3:44 PM
> To: John Cowan
> Cc: xml-dev@lists.xml.org
> 
> From: "John Cowan" <cowan@mercury.ccil.org>
> > The problem of incommensurable durations (which is longer, 
> 60 sec or 1
> min?)
> > is much more serious, and I don't see that anything can reliably be 
> > done about it.  Durations are simply not totally-ordered.
> 
> Do you have an example of two durations that can't be ordered 
> by normalization?
> 
> Bob
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org 
> <http://www.xml.org>, an initiative of OASIS 
> <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
> 




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS