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

RE: Help with Namespaces and Includes

From: Rowan Bradley <rowan.bradley@herbertgroup.com>
Date: Thu, 4 Jun 2009 15:54:35 +0100
Message-ID: <718017EC70E88A4CBBEED9574B35C76001B9299C@pc234.herbertgroup.herbertgroup.com>
To: <xmlschema-dev@w3.org>
RE: Help with Namespaces and Includes
Michael,

Many thanks for your helpful answers.

I now have a working solution. I tried to make "chameleon include" work,
and found that it would validate in oXygen and Liquid XML but not in
XMLspy. 

However I've now removed the default namespace declaration from my XML
files, so the elements and attributes are in no namespace, removed the
targetNamespace declarations from the XSD files, and used
noNamespaceSchemaLocation to reference the XSD files. The XML files now
validate in all three tools.

The original error was having a default namespace in the XML file but
referring to the XSD files via a noNamespaceSchemaLocation declaration
(and having a targetNamespace declaration in the XSD files). How it
validated 6 years ago I don't know - old and less picky version of
XMLspy I guess.

Anyway, thanks for your help. I now understand this a bit better!

Rowan
Received on Thursday, 4 June 2009 14:55:09 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.