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 ]

"Marc Gratacos" <MGratacos@isda.org> writes:

> Hi,
>
> 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 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? It's not clear to me reading the
> spec. Or is it a tools issue?

Sounds OK to me - did you try XSV [1] ?

ht

[1] http://www.ltg.ed.ac.uk/~ht/xsv-status.html
-- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]




 

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

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