XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] anyAttribute

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@saxonica.com] 
> 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/
> 
> 
> 
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS