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

RE: What are the characteristics of a good type system for XML

  • To: "Bob Foster" <bob@o...>,"John Cowan" <cowan@m...>
  • Subject: RE: What are the characteristics of a good type system for XML?
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Thu, 15 May 2003 18:22:16 -0700
  • Cc: <xml-dev@l...>
  • Thread-index: AcMbMh9JY+maRzBeR7ysuPjDa8jTsQABl/zA
  • Thread-topic: What are the characteristics of a good type system for XML?

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

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

Which is larger P1M or P29D ? 

What is the correct value of 

 (2004-01-30 + P1M) + P1M


 2004-01-30 + (P1M + P1M)

and should the values be the same?

Any simple theory will be worded in the most complicated way.

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

> -----Original Message-----
> From: Bob Foster [mailto:bob@o...] 
> Sent: Thursday, May 15, 2003 3:44 PM
> To: John Cowan
> Cc: xml-dev@l...
> From: "John Cowan" <cowan@m...>
> > 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>


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.