Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] anyAttribute

From: Brad Harper <brad.harper@------.--->
To: xml-dev <xml-dev@-----.---.--->
Date: 5/2/2007 9:37:00 PM
Thanks.

So the fact that <anyAttribute> appears in the W3 XMLSchema's schema
doesn't mean that an arbitrary attribute of my own making may be 
introduced into a schema conforming to the W3 schema.

If I placed <anyAttrbute> in *my* schema, I would expect that instance 
documents would be able to contain attributes that aren't explicitly 
defined by my schema.

I'd expect the same to be true for my schema, which is merely an 
instance document of the W3 schema.

Brad 

> -----Original Message-----
> From: Michael Kay [mailto:mike@s...] 
> Sent: Wednesday, May 02, 2007 4:21 PM
> To: Brad Harper; 'xml-dev'
> Subject: RE: [xml-dev] anyAttribute
> 
> > 
> > Have I mis-interpreted the schema schema?
> > 
> 
> Yes. You can add your own attributes to elements in a schema, 
> but they don't mean anything unless you write a schema 
> processor that attaches meaning to them. They certainly 
> aren't equivalent to adding an <xs:anyAttribute> element to a 
> complex type definition.
> 
> Michael Kay
> http://www.saxonica.com/
> 
> 
> 
>


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