[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsi:schemaLocation & Parser support?

  • From: Prashanth Rao <prao@v...>
  • To: "'xml-dev@l...'" <xml-dev@l...>
  • Date: Tue, 14 Aug 2001 09:05:07 -0700

xsi schemalocation
I'm a little baffled by what the XML Schema specification has to say about
xsi:schemaLocation and actual parser support for this feature.  Here's a
passage from the XML Schema Primer:

"1. In an instance document, the attribute xsi:schemaLocation provides hints
from the author to a processor regarding the location of schema
documents....The schemaLocation attribute contains pairs of values: The
first member of each pair is the namespace for which the second member is
the hint describing where to find to an appropriate schema document. The
presence of these hints does not require the processor to obtain or use the
cited schema documents, and the processor is free to use other schemas
obtained by any suitable means, or to use no schema at all."

The last sentence of the above paragraph indicates to me that
xsi:schemaLocation is an optional feature that parsers can choose to
implement or not.  This seems to go against the grain of the design
philosophy of XML:  "The number of optional features in XML is to be kept to
the absolute minimum, ideally zero."  I know that they are two separate
specifications, but by relegating xsi:schemaLocation to be an optional
feature, the specification breeds parser inconsistency, which surely can not
be a good thing.

Any thoughts on the matter?


Regards,
Prashanth Rao
Instructor
prao@v... - 773-255-8743
Vitria - www.vitria.com - www.xmls.com


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.