W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2001

Re: [Moderator Action] Extending attributes

From: Bob Schloss <rschloss@us.ibm.com>
Date: Sat, 17 Mar 2001 23:06:51 -0500
To: xmlschema-dev@w3.org
Message-ID: <OF76A9217E.8AD197ED-ON85256A13.0015E363@pok.ibm.com>
On 2001Mar09 04:10AM Henry wrote:
"and even in the case of complex types, you can't add back something once
you've taken it away".

Does this mean that if complexType B restricts complexType A (perhaps by
making the last particle of the sequence maxOccurs="0"), and complexType C
is derived from complexType B, and complexType D extends from complexType
C, it cannot change the maxOccurs back to 1 for the particle?

What section of the spec explains this?

My concern is that if another schema <include>s the schema with complexType
C defined, the "effective content model"  for C is not the only thing that
needs to be thought about before extending it, but also any restrictions
that have happened in its ancestor types.

Bob
Received on Saturday, 17 March 2001 23:07:26 GMT

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