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

OASIS catalogs: <system> and <uri> entries

  • From: Michael Kay <mike@saxonica.com>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Tue, 13 Dec 2011 17:41:54 +0000

OASIS catalogs: <system> and <uri> entries
In Saxon 9.4 we have introduced built-in support for XML catalogs (about 
time, I hear you say...)

I have noticed that some catalogs for collections of schema documents, 
for example DITA, have entries like this:

<system systemId="urn:oasis:names:tc:dita:xsd:map.xsd:1.1" uri="map.xsd"/>

These aren't working with the Saxon 9.4 schema processor, which is 
instead looking for an entry of the form

<uri name="urn:oasis:names:tc:dita:xsd:map.xsd:1.1" uri="map.xsd"/>

This is because Saxon uses a URIResolver for deferencing the URI, and in 
the OASIS catalogResolver, the URIResolver implementation looks for 
<uri> entries, whereas the EntityResolver implementation looks for 
<system> entries.

Am I right in thinking that

(a) there's nothing really in the specs to justify the convention of 
using <system> rather than <uri> for this purpose

(b) nevertheless, it is established practice, and therefore

(c) the Saxon schema processor ought to work this way?

Michael Kay

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
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.