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

Re: Question on Importing external namespaces without schemaLocation Attribute

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: Mon, 01 Dec 2003 09:46:40 +0000
To: "Subramanian Peruvemba (PV)" <subramanian.peruvemba@oracle.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5b65h050qn.fsf@erasmus.inf.ed.ac.uk>
Re: Question on Importing external namespaces without  schemaLocation  Attribute

"Subramanian Peruvemba (PV)" <subramanian.peruvemba@oracle.com> writes:

>     Have a schema that uses attributes from an external namespace. The
> schema itself is implemented as collection of includes. These included
> schemas use (imports) attributes from the external namespace (like
> xml.xsd). Should all the individual schemas provide schemaLocation
> attribute for the imports? Or is it enough for the main schema file to
> provide the schemaLocation.

As you describe them, your schema documents are fine -- each one that
references a foreign namespace must <import> that namespace.  The
processors I'm aware of only need one location hint for the right
thing to happen at validation time, so you should be OK on that front
as well.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Monday, 1 December 2003 04:46:43 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.