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

Re: Victory has been declared in the schema wars ...

  • From: Rick Jelliffe <rjelliffe@a...>
  • To: xml-dev@l...
  • Date: Tue, 28 Nov 2006 18:23:58 +1100

xsd course
Michael Champion wrote:
>
> I have a few specific questions:
>
> - Is this groundswell of RELAX NG adoption coming from anywhere 
> besides XML geekdom?
>
> - What about XSD 1.1 (which clarifies some of the nastier corners of 
> the spec and addresses the very limiting lack of occurrence 
> constraints)? Is there any awareness of / demand for *it* outside 
> geekdom? And, ahem, to what extent is this “RNG – Mission 
> Accomplished” meme an attempt to strangle it in the cradle? :-)
>
> - Are the non-geeks who consume RNG schemas doing so by translating 
> them to XSD for production use (or using the non-normative XSD 
> variants of the standards)?
>
> - What about the people who use XML for “data” rather than 
> “documents”? Is RELAX NG just another fault line in that dochead / 
> datahead schism, or are people finding ways to bind objects and 
> databases to XML via RELAX NG as well as with XSD?
>
I hope Michael gets beyond "geekdom" and "dataheads/docheads" some day 
soon. They are cliches and less relevant. And they are dismissive, 
especially of system integrators. We are all XML Geeks now. Maybe we are 
all dataheads and docheads too. Even where there has been no 
interbreeding, there has still been a lot of furtive groping under the 
covers.

I've emailed Michael separately with information about a good-sized 
government project I know of that uses RELAX NG happily.
>
> - Do the paying customers of the world REALLY hate XSD that much more 
> than they hate XML itself, especially namespaces and the APIs? I get 
> the impression that “it sux, but it sux less than not having a data 
> interchange standard” is about the most love we can hope for from the 
> teeming masses who don’t subscribe to xml-dev.
>
Yes, everyone hates XSD. The thing is that XSD has become substantially 
*more* complicated in recent years, as Web Services have come along. Not 
only do people have to understand XSD, but their schemas may also 
partially be specified using wsdl:message syntax. (This lets you specify 
what the soapenv:Body element must contain, because the official SOAP 
schema is open. XSD's poor capabilities to support openness seem to be 
the root problem here.)

I teach XSD courses a lot. People like the courses and can do what they 
need afterwards, and are impressed by a lot of features, but no-one 
loves XSD.

> - Given the rather sad track record of “The Right Thing” technologies 
> in the eternal battle against “it [expletive deleted] but you have to use it anyway” 
> technologies, why exactly should we “tear down the shaky towers with 
> XSD in their foundation”, as Tim put it? 5 years ago I wholeheartedly 
> agreed, but at this point it seems likely that XML itself will get 
> buried in the rubble if the XSD towers are pulled down.
>
My personal opinion is that XSD is a bad foundation not only because is 
so difficult and broken (and Michael's XSD towers are the ones vendor's 
have constucted: ultimately users say "that's your problem" and will 
vote with their feet with solutions that are easy and workable and 
reliable), but also because grammars are a bad foundation. Schemas 
should be based on paths, which are more straightforward to understand 
and implement, and which can do most of what XSD can do. (I have a blog 
article at XML.COM on converting content models to paths, so don't give 
me any crap about not being able to use paths for data binding.)

But if you have to use grammars, using the intersection set of features 
of XSD and RELAX NG where possible (see that XML.COM survey on which 
features actually get used in schemas) is still the best policy, where 
possible. I recently converted the Microsoft Office Open XML schemas 
(Office 12) from XSD to RELAX NG (working on an updated version this 
week) for ECMA preparation for ISO standardization, and I don't recall 
finding anything that couldn't be converted: some things are easier than 
others of course...swings and roundabouts.

Cheers
Rick Jelliffe


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.