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

RE: support for substitution groups, support for redefines?

From: Michael Kay <mike@saxonica.com>
Date: Sat, 9 Jul 2005 00:18:36 +0100
To: "'Bryan Rasmussen'" <brs@itst.dk>, <xmlschema-dev@w3.org>
Message-ID: <E1Dr27m-00039V-Ib@maggie.w3.org>
RE: support for substitution groups

As far as I know Saxon supports redefines according to the spec, but:

(a) there are very few test cases in the W3C test suite so it's hard to be
sure

(b) by the nature of the facility, the design is very fragile

(c) even if you follow the spec and the product implements it correctly, you
can get into an awful mess

therefore I wouldn't recommend using it.

Substitution groups are fine, I don't see any problem with them.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: xmlschema-dev-request@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Bryan Rasmussen
> Sent: 07 July 2005 08:33
> To: 'xmlschema-dev@w3.org'
> Subject: support for substitution groups, support for redefines?
> 
> 
> 	
> Hi
> Does anyone have a good overview of how well substitution groups and
> redefines are supported in various processors. The last big 
> project where I
> used redefines extensively about half a year ago I had to redo halfway
> through after running into too many problems, problems where 
> the redefine
> was proper and was supported by some processors but failed in 
> others, even
> more insidious where cases where I had redefined incorrectly and it
> functioned in some processors or in some test instances only 
> to fail later.
> This has put me off redefines, now I'm on something where 
> redefines and
> substitution groups are being proposed as the extensibility 
> mechanism. I've
> had misgivings about substitution groups, finding them somewhat overly
> complicated and have thus avoided them. How is their support?
> 
> Cheers
> Bryan Rasmussen
> 
> 
Received on Friday, 8 July 2005 23:19:16 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
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-2007 All Rights Reserved.