Next in thread → Next in month →

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

From
<>
To
Marc Gratacos <>
Date
2005-04-09T13:56:11Z
ID
<>
Thread
Re: [xml-dev] xsd:redefine issue using xsd:include
"Marc Gratacos" <> 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: 
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Next in thread → Next in month →