[XML-DEV Mailing List Archive Home]
[Reply To This Message]
Re: If I want to use catalogs for XSDs, must document instance
- From: Michael Kay <email@example.com>
- To: firstname.lastname@example.org
- Date: Fri, 20 Apr 2012 09:01:21 +0100
There can be more than one schema for the same namespace. For
example, there are various schemas for the XHTML namespace
describing different levels of "strictness" in what they accept.
That is, although an XML
isn't doing it based on the value of xmlns: attributes (as you
should it."), it seems to me that it *is* doing it based on
URIs (specifically, the first member of each pair of URI
a schemaLocation attribute value).
Am I just splitting hairs, or am
I suspect) missing a deeper point here?
I've always thought xsi:schemaLocation (and for that matter DOCTYPE)
to be rather absurd: if I don't trust a document to be valid, why
should I trust it to point me to a schema that I can use for
validation? Nevertheless, there are cases where it can be very
valuable. In general, however, I think anyone who wants to test a
document for validity ought to be responsible for deciding what they
want it to be valid against.
Have you looked at NVDL?
| [Thread Prev]
| [Thread Next]
| [Date Next]
| [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
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