Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: anyAttribute via attributeGroup refs problem

From: "Christian Roth" <roth@-----------.-->
To: "XML Schema Development List" <xmlschema-dev@--.--->
Date: 11/11/2008 12:09:00 PM
Michael Kay wrote:

>There is a very surprising rule here: when you reference two attribute
>groups and they both contain attribute wildcards, you get the intersection
>of the wildcards, not the union as you might expect.

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)? 

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? Isn't the main concept of namespaces that they are
orthogonal and, as a consequence, the intersection of namespace
wildcards will always be empty? Ok, there is still the special
"namespaces" ##local, ##targetNamespace, ##other or ##any with which it
might yield a non-empty result.

Regards,
Christian




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent