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

Re: RE: XQuery and DTD/Schema?


Re: RE:  XQuery and DTD/Schema?
At 01:27 PM 7/6/2002 -0400, Simon St.Laurent wrote:
>At 01:03 PM 7/6/2002 -0400, Jonathan Robie wrote:
>>I agree, but I do believe that XML should be able to express datatypes - 
>>and a lot of people seem to agree, including the designers of RELAX-NG 
>>and most other recent schema languages. I would like to be able to 
>>support these datatypes efficiently.
>
>I don't find support for those datatypes compelling for XML.  I find them 
>to be a distraction from the text-based functionality that makes XML so 
>useful at best, a distressing calamity at worst.  I'm starting to argue 
>that compromise even with the primitive types is a dangerous mistake.

I think that is a pretty clear statement that you are not our target audience.

A query language that does not correctly sort integers or do even basic 
type inference just doesn't meet the requirements for XQuery.

>>Are you asking us to drop support for types entirely? If so, is that 
>>because you want all processing to be done by converting XML into Java or 
>>relational data first, or because you think processing data does not 
>>require types? Or are you suggesting a different strategy for supporting 
>>types in XQuery? If the latter, could you please explain what approaches 
>>you favor?
>
>I'm saying that:
>* XML has a type system - it's called element types.
>* Applications are welcome to build whatever processing they want on that 
>foundation
>* The "XML Core" should not recognize any type systems beyond those in XML 
>1.0.
>
>Too minimalist for many? Probably.  Layering solutions rather than piling 
>type systems into the core would take care of a lot of my 
>objections.  Sadly, XQuery seems intent on building on XML+WXS, not XML.

Layering works if you really do intend to physically move things through 
all those layers. If I am querying gigabytes of information, I really don't 
ever intend to ever physically realize that data and start doing operations 
on it. If we had to do that, XQuery could never work efficiently.

For data that is physically represented as XML, there already *is* a 
layering - XML text is parsed to create an Infoset, which is validated to 
create a PSVI, which is mapped into the XML Query data model. Do you 
suggest a different layering? What layering would you prefer, and how would 
this relate to the XML Query data model and typed operatoins?

Jonathan


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.