import in import and namespace

Hello,

I have the following schema :

s1.xsd : targetNameSpace ns1
    importing s2.xsd with NameSpace ns2    
        importing s3.xsd with NameSpace ns1 (the "main" targetNameSpace).

Is this modularization strategy allowed ? 
It seems that Xerces does not support this kind of schema. Indeed, in the
GrammarResolverImpl class, a schema is referenced by its NameSpace
(and not its location), then s3.xsd is not imported because xerces 
considered that ns1 is previously processed (by s1.xsd).

Regards,

-- bruno -- 
Bruno Chatel
Tel : (+33)[0] 4 96 11 14 57
Email : bcha@chadocs.com
----------------------------------------

Received on Friday, 11 January 2002 12:29:15 UTC