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

Henry S. Thompson ht at
Wed Jan 5 14:25:13 GMT 2000

David Carlisle <davidc at> 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

  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

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

More information about the Xml-dev mailing list