W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2003

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>

"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

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