OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Understanding XML catalogs: what they are, why theyare used, and where they are used

I disagree with David's answer.  XML Catalogs are used by resolvers; could  
be a SAX entity resolver, could be some other kind of URI resolver.   
Whether a particular feature (like xsl:include) works with XML catalogs  
depends solely on whether the application that implements the features  
makes it possible to use a resolver that support XML Catalogs.

That said, there is the issue that support for XML Catalogs in such  
applications is less widespread and uniform that you would like.

Cheers, Tony.

On Thu, 22 Jul 2010 13:47:04 +0100, David Carlisle <davidc@nag.co.uk>  

> On 22/07/2010 12:54, Costello, Roger L. wrote:
>> can they be used with<xsl:include>  elements?
> No
> They are mainly (perhaps only) applicable to specifying the locations of  
> dtd and external parsed entities, that is the SYSTEM and PUBLIC  
> identifiers defined in the grammar of XML.
> If you want to be able to map arbitrary URI to arbitrary places then you  
> need a URIResolver (it seems most java systems let you supply a  
> URIResolver class) then you get more power than with the declarative xml  
> catalog, but of course less applicability as if you write it in java it  
> probably won't work without pain for xml applications written in C or  
> .NET (and visa versa).
> David
> ________________________________________________________________________
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
> This e-mail has been scanned for all viruses by Star. The service is
> powered by MessageLabs.  
> ________________________________________________________________________
> _______________________________________________________________________
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

Anthony B. Coates
Director and CTO
Londata Ltd
UK: +44 (20) 8816 7700, US: +1 (239) 344 7700
Mobile/Cell: +44 (79) 0543 9026
Data standards participant: genericode, ISO 20022 (ISO 15022 XML),  

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

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS