Round 2: How an XML instance document references an XML Schema

Henry S. Thompson ht at cogsci.ed.ac.uk
Wed Jan 5 14:25:13 GMT 2000


David Carlisle <davidc at nag.co.uk> writes:

> maybe this is a stupid question, but _why_ does
>  schemaLocation
> take two URI ?
> 
> What is the point of the first one giving a namespace? It seems to be
> one source of the complication, and currently I don't see how
> it can be used.

A single document may contain names from more than one namespace. So
although basically you're right, the pairing is primarily to provide a
minimal sanity-check that you're getting the schema you think you are,
this becomes more useful when you have several namespaces in your
document.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht at cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list