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

Re: Is Web 2.0 the new XML?

  • To: Michael Kay <mike@s...>
  • Subject: Re: Is Web 2.0 the new XML?
  • From: Robin Berjon <robin.berjon@e...>
  • Date: Thu, 18 Aug 2005 15:25:33 +0200
  • Cc: xml-dev@l...
  • In-reply-to: <20050816131026.18EE5D6EBD@m...>
  • References: <20050816131026.18EE5D6EBD@m...>
  • User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Re:  Is Web 2.0 the new XML?
Michael Kay wrote:
>>No. We need XML Schema so that other WGs know what not to do. 
> 
> OK, so what exactly did they do wrong, and how can other WGs avoid doing the
> same?

I don't claim to know everything that went wrong with the Schema WG, but 
here's a quick list of what springs to mind (most specs suffer from at 
least one of these, but XML Schema is special in that it has them all):


  Version One Syndrome. Since everyone wants their pet feature to be in 
the first version, which then becomes the humongous blob that we have 
come to know and loathe. Doing this, the WG never has a chance to do a 
reality check on its requirements before it's way too late to change 
anything.


  Space Odyssey Sydrome. It was a brilliant idea to separate parts 1 and 
2. Unfortunately, there's a lot more that should be separated out of 1 
(Rick posted a list of good examples recently though I can't seem to 
track down the message). A less monolithic spec would likely be easier 
to implement (certainly simpler for those of us who only need subsets) 
and perhaps simpler to fix.


  Pompous Vagueness. The spec, especially part 1, works incredibly hard 
on being thoroughly impossible to read, yet no obvious formalism appears 
when reading it. XQuery for instance learnt from this mistake.


  Usability Testing. It may sound silly but checking that the people who 
will be using your spec are actually able to do so is generally a good 
idea. I'm not the smartest monkey on the block, but generally when you 
toss me a specification in the Web and/or XML space I understand it on 
the first pass and after using it regularly for two weeks I only need to 
look up the odd detail (that's definitely the case with RelaxNG). I've 
been using XML Schema for three years, on a daily basis, and I'm still 
not familiar with it. It's guaranteed that if I hand-author even the 
simplest schema I'll make a mistake. The accumulated time I've spent 
trying to answer XML Schema questions by going through the spec with a 
thin comb is measured in months yet it's so convoluted and obfuscated 
that I'll forget the answer after a while.


  Tools will solve it. A lot of the spec seems to have been designed 
with tools in mind rather than text editors (the human-hostile syntax 
springs to mind), which is also known as the Sweep It Under The Rug 
school of design. When creating an XML vocabulary, apart from a very few 
exceptions, and your users require tools to use it, you have a problem.


There's probably more, but that's all I'm thinking of right now. I think 
it's an interesting experience to do. But then I guess I should just 
quit whining and get a job that doesn't require me to deal with that 
specific gorgon (so long as we can keep it from polluting other specs at 
random) :)

-- 
Robin Berjon
   Senior Research Scientist
   Expway, http://expway.com/


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.