[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: If I want to use catalogs for XSDs, must document instance
- From: Michael Kay <mike@saxonica.com>
- To: xml-dev@lists.xml.org
- Date: Fri, 20 Apr 2012 09:01:21 +0100
OFBADDBEF8.B9640943-ON482579E6.0021A7E0-482579E6.0029832D@LocalDomain"
type="cite">
That is, although an XML
application
isn't doing it based on the value of xmlns: attributes (as you
say: "Neither
should it."), it seems to me that it *is* doing it based on
namespace
URIs (specifically, the first member of each pair of URI
references in
a schemaLocation attribute value).
Am I just splitting hairs, or am
I (as
I suspect) missing a deeper point here?
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.
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?
http://en.wikipedia.org/wiki/Namespace-based_Validation_Dispatching_Language
Michael Kay
Saxonica
|
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [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
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.
|
|