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

Re: Must the content of SchemaLocation be a resorvable URL?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: Mon, 14 Jul 2003 14:27:09 +0100
To: "Noga Atsil" <Noga.Atsil@smarteam.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5bvfu5me6q.fsf@erasmus.inf.ed.ac.uk>

"Noga Atsil" <Noga.Atsil@smarteam.com> writes:

> Being the "xsi:schemaLocation" a hint for the parser regarding the
> phisycal location of the schema - can it contiain schema name (no
> full path) which is not pointing to its actual location? Is it legal
> according to the XML Schema specification (I couldn't find anything
> for or against the idea)?

I'm not sure I've understood your question, but relative URLs are OK,
e.g. xsi:schemaLocation='subdir/my.xsd'

  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, 14 July 2003 09:27:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:02 UTC