W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

import in import and namespace

From: Bruno Chatel <bcha@chadocs.net>
Date: Fri, 11 Jan 2002 18:42:29 +0100
Message-ID: <01da01c19ac7$57d34ec0$0600a8c0@chafou>
To: <xmlschema-dev@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:26 GMT