W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2008

Re: Question on <openContent> and <anyAttribute>

From: Sandy Gao <sandygao@ca.ibm.com>
Date: Wed, 19 Mar 2008 17:10:48 -0400
To: Rod Hughes <rod_hughes@yahoo.com>
Cc: www-xml-schema-comments@w3.org
Message-ID: <OF335DE2CF.C40906CA-ON85257411.00740132-85257411.007455DA@ca.ibm.com>
Rob,

Search for "defaultAttributes". :-)

It's a valid question whether <openContent> and "defaultAttributes" should 
be combined, but the capability is there.

We went further than just allowing default <anyAttribute>, because there 
are cases where people need to allow specific attributes everywhere (e.g. 
xml: ones).

Thanks,
Sandy Gao
XML Technologies, IBM Canada
Editor, W3C XML Schema WG
Member, W3C SML WG
(1-905) 413-3255 T/L 313-3255
 



Rod Hughes <rod_hughes@yahoo.com> 
Sent by: www-xml-schema-comments-request@w3.org
2008-03-07 04:16 PM

To
www-xml-schema-comments@w3.org
cc

Subject
Question on <openContent> and <anyAttribute>










Hello,

The addition of the <openContent> element in XSDL 1.1 is wonderful 
and will greatly simplify extending XML Schemas.

However, I was wondering why the <openContent> element doesn't allow 
for <anyAttribute> to be specified as well as <any> so that XML 
Schemas can be easily extended with new attributes just at they can 
now be easily extended with new elements?  It is certainly much more 
common for new elements to be added, so I'm definitely thankful to 
have <openContent> available at all, but I'm just curious why 
<anyAttribute> support wasn't included as well.

Thanks and best regards,
Rod Hughes
Received on Wednesday, 19 March 2008 21:11:33 GMT

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