W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2003

Re: Substitution group chains - which can be abstract?

From: Dan Vint <dvint@mindspring.com>
Date: Thu, 17 Apr 2003 08:30:47 -0700
Message-Id: <5.1.0.14.2.20030417082927.030857d8@mail.dvint.com>
To: Simon.Cox@csiro.au, Simon.Cox@csiro.au, xmlschema-dev@w3.org

That is the way I read the Schema primer on this topic. You have the choice 
of using the abstract, but it appears that the head element is the only one 
that can have this value. I see this as being the way to control element 
similar to complexTypes.

..dan

At 04:47 PM 4/17/2003 +0800, Simon.Cox@csiro.au wrote:

>Xerces 2.1.0 is throwing the following error for one of my schemas:
>
>"c:\dev\schemas\src\foo.xsd (121, 109) : error : For '_Bar' to be a member
>of the substitution group set of 'myns:_Foo', its {abstract} must be false."
>
>This appears to say that only the head of a substitution group can be
>abstract="true".
>Is this correct?  This would appear to disallow the use of some useful
>substitution group chains.
>
>Simon
>
>______
>Simon.Cox@csiro.au  CSIRO Exploration & Mining
>26 Dick Perry Avenue, Kensington WA 6151
>PO Box 1130, Bentley WA 6102  AUSTRALIA
>T: +61 (8) 6436 8639  F: +61 (8) 6436 8555  C: +61 (4) 0330 2672
>http://www.csiro.au/page.asp?type=resume&id=CoxSimon
>
Received on Thursday, 17 April 2003 11:31:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT