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

Re: RE: XQuery and DTD/Schema?


xquery dtd
[Simon St.Laurent]
> At 02:30 PM 7/6/2002 -0400, Jonathan Robie wrote:
> >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?
>
> That's easy.  Layer XML Query on the Infoset, drop the PSVI, and you have
> half a chance of producing something likely to have a long and useful
lifetime.
>

I'd like to suggest a different take on why there may have been such a hue
and cry about XQuery/Xpath2/XML Schema.  I think it has a lot of explanatory
power.  See what you all think.

Up until recently, most experienced XML practitioners probably felt that
they could write any part of the XML processing chain themselves if they had
to or wanted to.  Anyone could write a parser (I'm not necessarily talking
fact here, but perception), and most people probably though they could write
an XPath processor if put to it.  XSLT would be harder, but still one or a
small group could picture themselves doing it.  We have Saxon from Mike Kay,
for example, and 4xslt from Uche's gang.

Going along with this, if you needed, say, XPath for Ruby or Curl, you could
imagine writing it if no one else got around to doing it.  In this lies a
great sense of freedom.  You could do it yourself, and especially you could
do it without needing the products of big companies.

Now comes XML Schema.  This does not look like a one-person project (Yes, I
know, XSV - I said it was about perception).  This is a big deal, if you
could even understand the Rec well enough.  And to most people it probably
does not seem like an interesting job, either.  To mix XML Schema into XPath
for XPath2 also seems like a great burden.  XQuery seems too much to tackle,
too.  SOAP toolkits - they are coming out of much bigger efforts.

If this is close to the mark, the resentment and fear comes from a perceived
withdrawal of the previous freedom.  Any unclear or complex feature of, say,
XML Schema, will tend to trigger the reaction.  So no amount of explanation
about any one issue can settle anything, which seems to be what we are
seeing here.  The threads just keep circling around and repeating the same
points.

Now personally, I do not see myself creating another RELAX NG validator.
But the next best thing to actually being able to build something is for it
to seem so clear and simple as to be quite understandable. So we keep
hearing how simple and elegant RELAX NG is.  XML Schema can never be
anywhere near as understandable.  If we can keep XPath2 simple - keep the
@#$@! PSVI out - we can still feel like we can do it ourselves if we have
to.

I am not suggesting that there are no technical or architecture issues that
influence the discussion.  I am suggesting that there are hidden aspects to
the debate, and theat they are fairly powerful.

Cheers,

Tom P



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.