Attribute Wildcards

Normally, if a complex type references two attribute groups, then the
attributes permitted on an element are the union of those permitted by the
two attribute groups.

But if the two attribute groups both contain attribute wildcards, the
attributes permitted  are the intersection of what's allowed by the two
wildcards (i.e. an attribute has to match both).

However, if one complex type containing an attribute wildcard extends
another complex type also containing an attribute wildcard, then the
attributes permitted are the union of what's allowed by the two wildcards.

Have I got it right?

And if so, can someone please explain the reasoning?

Michael Kay

Received on Friday, 2 April 2004 17:40:11 UTC