Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [XML Schema 1.1] defaultAttributes only apply within the schema

From: "C. M. Sperberg-McQueen" <cmsmcq@-------------.--->
To: "Costello, Roger L." <costello@-----.--->
Date: 7/14/2009 1:17:00 PM
On 14 Jul 2009, at 06:48 , Costello, Roger L. wrote:

>
> Hi Folks,
>
> Below I show BookStore.xsd. It specifies defaultAttributes. It  
> imports Book.xsd, which also has a defaultAttributes.
>
> The defaultAttributes specified in BookStore.xsd only applies to the  
> complexTypes within that file, and the defaultAttributes specifies  
> in Book.xsd only applies to the complexTypes within that file,  
> correct?

Yes, the defaultAttributes applies only to types defined
in the schema document for which the defaultAttributes
attribute is specified.  Types defined in other schema
documents are not affected, whether they are included or
acquired via import or by some other means.

To cite chapter and verse:  this property follows from

   - the rule for {attribute uses} given in section
     3.4.2.4 Mapping Rule for Attribute Uses Property,
     and
   - the rule for {attribute wildcard} given in section
     3.4.2.5 Mapping Rule for Attribute Wildcard Property


-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com
* http://cmsmcq.com/mib
* http://balisage.net
****************************************************************







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