Lists Home |
Date Index |
- To: "Mike Champion" <firstname.lastname@example.org>,<email@example.com>
- Subject: RE: [xml-dev] XQuery and DTD/Schema?
- From: "Dare Obasanjo" <firstname.lastname@example.org>
- Date: Tue, 2 Jul 2002 19:49:55 -0700
- Thread-index: AcIiOMGlPlm3vi03TOqUa+VlDgo8WgAAbnNg
- Thread-topic: [xml-dev] XQuery and DTD/Schema?
> -----Original Message-----
> From: Mike Champion [mailto:email@example.com]
> Sent: Tuesday, July 02, 2002 7:24 PM
> To: firstname.lastname@example.org
> Subject: RE: [xml-dev] XQuery and DTD/Schema?
> 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
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.
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