Re: anyAttribute via attributeGroup refs problem

-----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@inf.ed.ac.uk
                       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-----

Received on Friday, 14 November 2008 13:57:16 UTC