W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

Re: schemaLocation in instance documents - how many hints?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 15 Jan 2002 09:31:23 +0000
To: Simon.Cox@csiro.au
Cc: xmlschema-dev@w3.org
Message-ID: <f5bk7ukrmdw.fsf@cogsci.ed.ac.uk>
Simon.Cox@csiro.au writes:

> In an /instance document/, is it good practice to have 
> a schemaLocation hint for every namespace used therein?  

Only if the schema docs involved don't reference each other.

> Or if one schema document <imports> documents which 
> (ultimately) describe all the other necessary namespaces, 
> is it sufficient to only provide the schemaLocation hint 
> for the ultimate schema document?

Yes, in my opinion.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-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/
Received on Tuesday, 15 January 2002 04:31:32 GMT

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