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

Re: Substitution group chains - which can be abstract?

From: Simon Cox <Simon.Cox@csiro.au>
Date: Fri, 18 Apr 2003 11:08:39 +0800
Message-ID: <008301c30557$d0009aa0$0c15000a@arrc.csiro.au>
To: <xmlschema-dev@w3.org>, "Dan Vint" <dvint@mindspring.com>

I was looking in part 1 rather than the primer.
Can you (or anyone else) point me to the normative section in part 1 where
it states that only the head of a substitution group may be abstract?  I
looked but could not find it.

I don't see the benefit in this restriction.

Simon Cox

----- Original Message -----
From: "Dan Vint" <dvint@mindspring.com>
To: <Simon.Cox@csiro.au>; <Simon.Cox@csiro.au>; <xmlschema-dev@w3.org>
Sent: Thursday, April 17, 2003 11:30 PM
Subject: Re: Substitution group chains - which can be abstract?


> 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 23:38:24 GMT

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