W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2002

Re: a comment concerning the scema primer...

From: Priscilla Walmsley <priscilla@walmsley.com>
Date: Wed, 7 Aug 2002 19:12:54 -0400
To: <www-xml-schema-comments@w3.org>
Message-ID: <000201c23e67$f635a6a0$339afea9@WALMSLEYPH>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:01 GMT