W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2009

Re: Including schema with target namespace from schema with no target namespace

From: Tobias Koenig <tobias.koenig@trolltech.com>
Date: Tue, 10 Feb 2009 12:24:15 +0100
To: xmlschema-dev@w3.org
Message-Id: <200902101224.15692.tobias.koenig@trolltech.com>

On Monday 09 February 2009 18:07:13 Bob Kline wrote:
Hej Bob,

> We then include that document in the schema document for the 
> rest of the elements and types.  Schema processors won't accept this, 
> complaining that  "[t]he target namespace of the included/redefined 
> schema 'CdrNamespaceAttributes.xml' has to be absent, since the 
> including/redefining schema has no target namespace."
If the target namespace of the 'to be included' schema differs from the
target namespace of the including schema, you have to use <import> instead of <include>.

Ciao,
Tobias
Received on Tuesday, 10 February 2009 11:23:22 GMT

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