[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Including schema with 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>
Re: Including schema with target namespace

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

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.