W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2007

Re: [Bug 4314] xml schemas and xml:* attributes

From: Sandy Gao <sandygao@ca.ibm.com>
Date: Wed, 4 Apr 2007 09:20:53 -0400
To: ht@inf.ed.ac.uk (Henry S. Thompson)
Cc: www-xml-schema-comments@w3.org
Message-ID: <OFAEC48E97.A1F11CF9-ON852572B3.00491C89-852572B3.004953EA@ca.ibm.com>
> > A new attribute "defaultAttributes" is introduced on the <schema> 
element,
> > whose value is a QName as a reference to an attribute group 
definition. When
> > this attribute is specified, all complex types defined withint this 
<schema>
> > gets the attribute group as if a reference to it was specified in
> > <complexType>. Complex types can use an attribute 
> "defaultAttributesApply" to
> > indicate whether such defaulting is desired.
> 
> Does "defined within this <schema>" include redefined?  Not sure I
> have an opinion, but I think it should be clear whichever way.

Yes, it does. The text will look like "if the <schema> ancestor has ...", 
which applies to both anonymous types and types defined under <redefine>.

Thanks,
Sandy Gao
XML Parser Development, IBM Canada
(1-905) 413-3255
sandygao@ca.ibm.com


www-xml-schema-comments-request@w3.org wrote on 2007-04-02 12:38:37 PM:

> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> bugzilla writes:
> 
> > A new attribute "defaultAttributes" is introduced on the <schema> 
element,
> > whose value is a QName as a reference to an attribute group 
definition. When
> > this attribute is specified, all complex types defined withint this 
<schema>
> > gets the attribute group as if a reference to it was specified in
> > <complexType>. Complex types can use an attribute 
> "defaultAttributesApply" to
> > indicate whether such defaulting is desired.
> 
> Does "defined within this <schema>" include redefined?  Not sure I
> have an opinion, but I think it should be clear whichever way.
> 
> ht
> - -- 
>  Henry S. Thompson, HCRC Language Technology Group, University of 
Edinburgh
>                      Half-time member of W3C Team
>     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
>             Fax: (44) 131 650-4587, 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)
> 
> iD8DBQFGETGNkjnJixAXWBoRAknpAJ9j1Ic+aCIZ8MSxz9BSzpNgcRgawACePFZm
> tmi8L19v0fQh+4bkq35h08k=
> =AhmD
> -----END PGP SIGNATURE-----
> 
Received on Wednesday, 4 April 2007 13:21:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:11 GMT