W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2008

RE: anyAttribute via attributeGroup refs problem

From: Michael Kay <mike@saxonica.com>
Date: Tue, 11 Nov 2008 12:52:05 -0000
To: "'Christian Roth'" <roth@visualclick.de>, "'XML Schema Development List'" <xmlschema-dev@w3.org>
Message-ID: <BC4293EE29A6447AAB06462A20962AFF@Sealion>

> Thank you! Is the "surprising rule" you refer to the one under 
> 3.4.2-"XML Representation Summary: complexType Element 
> Information Item"-"Complex Type Definition with simple 
> content Schema Component"-2.2.1 

> (don't know if there is a more concise way of referring to 
> that specific document location)? 

The structure has been improved in XSD 1.1 to make referencing much easier.
> Yes, I would have expected a union in the same way single 
> attribute definitions form a union, since my personal view up 
> to now on "anyAttribute" was that it's just a slightly more 
> generalized "attribute". Obviously, it's not, but treated 
> quite differently. Haven't thought on this long enough, but: 
> are there use cases for namespace intersections? 

I personally can't see any logic behind the current design, but it appears
there are reasonable people who can.

Michael Kay
Received on Tuesday, 11 November 2008 13:06:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:48 UTC