Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: anyAttribute via attributeGroup refs problem [Thread Next] Re: anyAttribute via attributeGroup refs problemTo: Michael Glavassevich <mrglavas@--.---.---> Date: 11/14/2008 1:59:00 PM -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Glavassevich writes: >> <xs:attributeGroup name="standard"> >> <xs:attributeGroup ref="v1:standard"/> >> <xs:attribute ref="v2:status"/> >> <xs:anyAttribute namespace="##other" processContents="lax"/> >> </xs:attributeGroup> > > Assuming v1 and v2 are bound to different namespaces I don't believe this > is legal [1] (see clause 2 of Attribute Group Definition Representation OK) > in XML Schema 1.0. I'm pretty sure in Xerces we emit an error because the > intersection [2] of the two negations is not expressible. You're right, of course -- the discussion of this example arose in the context of XML Schema 1.1, where the intersection _is_ expressible. ht - -- Henry S. Thompson, School of Informatics, University of Edinburgh Half-time member of W3C Team 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 651-1426, e-mail: ht@i... URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFJHYOMkjnJixAXWBoRAhznAKCALrhGY/uARI19hLA+W4AHLxX2jACfWDKH n959IagKYNM/Wu7A9cir/AY= =Pvxr -----END PGP SIGNATURE----- | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
