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

Re: intertwined specs

  • From: Eric van der Vlist <vdv@d...>
  • To: xml-dev@l...
  • Date: Mon, 19 Feb 2001 19:14:52 +0100

define intertwined
> Jonathan.Robie@S... wrote:
> 
> Simon wrote:
> 
> > Does the data model fit XPath as it currently exists?
> > Or will XPath need retrofitting?
> 
> XPath is based on four datatypes, and provides elaborate rules for
> converting any node or nodeset to each of these datatypes. These four
> datatypes do not exist in XML 1.0, and they are not the datatypes of
> XML Schema. I believe that XPath will have to adopt the XML Schema
> simple datatypes, define operations on these datatypes, and define
> consistent casting rules for these datatypes.

This is an interesting example...

W3C XML Schema is considering the string datatype (and all the types
derived from this type) as being unordered.

Does that mean that we should loose a sort order on string datatypes
when we use XSLT and/or XQuery to be consistent with W3C XML Schema
because these datatypes are not ordered?

A problem with intertwined specs is that if we don't want that they
become like a plate of spaghetti we need to define a clean layered
structure first and probably define a complete datatype system rather
than trying to reuse one that has been defined for what is IMHO a
specific purpose and has had to accept to drop many features to deliver
in a timely fashion.

Another problem is that we are creating a chain and that if we do so,
the strength of the chain will be the strength of its weakest link.

In other words, generalizing XPath would mean generalizing its implied
data model that is but a subset of the infoset just like generalizing
W3C XML Schema structures and/or W3C XML Schema datatypes would mean
generalizing their limitations.

These are decisions that have a significant impact.

My 0,02 Euros.

Eric
-- 
See you in Austin (Knowledge Technologies 2001)
              http://www.gca.org/attend/2001_conferences/kt_2001/mon.htm
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.