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

XML Schema in Z ?

  • From: Robert Worden <rworden@d...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • Date: Thu, 27 Jul 2000 09:40:07 +0100

sch ma en z
In response to Jonathan Robie's question: what should the Schema WG do 
next?

A suggestion: in parallel with anything else you do, re-express the Schema 
spec in a  mathematical specification language such as VDM or Z. Publish a 
mathematically annotated  version of the spec.

What would Z or VDM do for Schema? They use elementary maths (mainly set 
theory) to express  more precisely what you mean. This is the best way I 
know to expose any inconsistencies,  ambiguities and gaps in a spec. Better 
even than implementing. A spec in Z is never 'just  maths'; it is maths 
with explanatory English. Reading it, trying to relate the maths and the 
 English, clears the cobwebs faster than anything.

People have noted pieces of 'tortured prose' in the schema spec. Try 
turning the tortured  prose into maths. If the maths is simple, we have 
learned something, and can probably  re-express the ideas in simpler 
English. If the maths is tortured, we have got a problem!  Then leave that 
part for release 2 and sort it out first.

Writing a Z spec is a piece of intense work, and reading it is not for 
everybody. But   getting the spec right is _much_ cheaper than implementing 
and finding problems downstream.  Michael Kay has commented that namespaces 
doubled the complexity of implementing SAXON; we  need to be sure there are 
no such complexity time-bombs in XML schema. A lot of people will 
 implement on top of it for a long time.

W3C needs to be sure it is releasing a quality specification, as Schema 
will be so central.  This would be a cost-effective way to do so.

Robert Worden



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.