Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: anyAttribute via attributeGroup refs problem

From: ht@---.--.--.-- (----- -. --------)
To: 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-----



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