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

RE: XQuery and DTD/Schema?

  • To: "Mike Champion" <mc@x...>,<xml-dev@l...>
  • Subject: RE: XQuery and DTD/Schema?
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Tue, 2 Jul 2002 19:49:55 -0700
  • Thread-index: AcIiOMGlPlm3vi03TOqUa+VlDgo8WgAAbnNg
  • Thread-topic: XQuery and DTD/Schema?

xml infoset dtd
> -----Original Message-----
> From: Mike Champion [mailto:mc@x...] 
> Sent: Tuesday, July 02, 2002 7:24 PM
> To: xml-dev@l...
> Subject: RE:  XQuery and DTD/Schema?
> 
> >[0]http://www.w3.org/TR/query-datamodel/#IDASOVR
> >
> 
> Sheesh, Dare, read that section as if you were doing so for 
> the first time, 
> and THEN ask yourself why people who don't actually get 
> paid/forced to read that spec (all 900 pages!  Oops, sorry, 
> only 750 if you factor out the duplicates...) 
> don't do so! 

That's actually a fairly straightforward part of the XQuery family of
drafts. Granted one needs some context (i.e. knowledge of the XML
infoset information items and the post-schema validation infoset items)
to grasp what it's about but after that it isn't as much goobly gook as
the XQuery formal semantics, the W3C XML Schema Structures REC or the
RELAX NG specification. 

I guess I should provide a capsule summary next time I link to W3C recs
if they inspire such revulsion; the link describes a mapping from a PSVI
(i.e. a W3C XML Schema validated XML document) to the XQuery type system
and implies that a similar mapping between a DTD validated XML document
and the XQuery type system is forthcoming. 

 
> My understanding of the answer to Betty's question is that to 
> use all the bells and whistles of XQuery you do need to use a 
> schema. 

This is only if the bells and whistles are important to her use cases. I
can similarly state that to use all the bells and whistles of C++ one
needs to use templates, RTTI and structured exception handling but many
people build apps without these with little problem (you don't need to
look much further than the Mozilla project for proof of this).

So I consider your statement a red herring. :) 

> Anyway, if you want to just treat everything as being 
> characters, you can certainly use XQuery to query arbitrary 
> XML without a DTD/WXSDL/DBMS schema definition.
> 

Exactly.  


-- 
PITHY WORDS OF WISDOM 
Lynch's Law: When the going gets tough, everyone leaves.

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





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.