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

Re: RE: XQuery and DTD/Schema?


dtd
At 03:00 PM 7/3/2002 -0400, Jonathan Robie wrote:
>Sticks and stones can break my bones, but names can never hurt me.
>
>Did you have a technical point to make?

Yes, Jonathan.  The very same point that you never care to listen to, but I 
can repeat it for you yet again if perhaps it will humor you.

XML is a wonderful set of tools for marking-up information with labeled 
structures.

DTDs and RELAX NG pretty much acknowledge that foundation, and build on it 
cleanly.  RELAX NG's use of structural patterns seems like a perfect fit 
for the capabilities inherent in XML and markup generally.

W3C XML Schema throws away these understandings of labeled structures, and 
instead proceeds to create a mash of type systems which impose themselves 
on the structures of XML rather than meshing cleanly with 
them.  Effectively, W3C XML Schema bolts a variety of understandings from 
the OOP and relational database worlds, and bolts them onto XML 
haphazardly, with no respect for notions like "element type definition" 
that came with XML 1.0.

RELAX NG makes me think of a set of houses built to fit in their 
environment, with minimum impact on the surrounding terrain.  W3C XML 
Schema makes me think of a subdivision built by clearcutting the area and 
then building houses according to plans that worked well enough someplace else.

Perhaps that's merely an aesthetic point, something W3C XML Schema is 
notoriously bad at anyway.  Technically, however, I think the impedance 
mismatch between W3C XML Schema and XML itself is severe, as W3C XML 
Schema's notion of type has only passing connections to XML 1.0's notion of 
type.  The W3C seems more inclined to force these notions into XML and 
related technologies than to ask whether this is appropriate in the first 
place.

Simon St.Laurent
"Every day in every way I'm getting better and better." - Emile Coue


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.