OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] xsd:redefine issue using xsd:include

[ Lists Home | Date Index | Thread Index ]

> I have three schema files a.xsd, b.xsd, c.xsd within the same 
> namespace.
> a.xsd includes b.xsd (<xsd:include schemaLocation="b.xsd"/>)
> c.xsd redefines some types from a.xsd (<xsd:redefine
> schemaLocation="a.xsd">)
> Since a.xsd is including b.xsd I was thinking that in c.xsd I could
> redefine types from a.xsd also.

I assume you mean from b.xsd also?

 I did that and xerces doesn't complain
> at all. However, other tools like Stylus Studio, XML Spy, IBM Schema
> Quality Checker do. Is this w3c valid? 

From what you say, I think it is valid.

Michael Kay


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

Copyright 2001 XML.org. This site is hosted by OASIS