Re: a comment concerning the scema primer...

Hello,

This is discussed in the first part of section 5.6 of the Primer. The
example "Using schemaLocation in the Quarterly Report" shows the use of
the schemaLocation attribute to link an instance with a schema document.


(This is not the only way to link instances to schemas; it depends on
the application.  The schema could be built into the application,
specified programmatically, retrieved by dereferencing the namespace,
etc. )  

However, if you are looking to validate instances against schemas using
any of the major XML parsers, the schemaLocation attribute (or the
noNamespaceSchemaLocation attribute) should meet your needs.

Hope that helps,
Priscilla 

-----------------------------------------------------
Priscilla Walmsley             priscilla@walmsley.com
Author, Definitive XML Schema     (Prentice Hall PTR)
----------------------------------------------------- 

Received on Wednesday, 7 August 2002 19:14:19 UTC