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] RE: Compelling use case for XML Catalogs?

On 13/06/2011 16:24, Costello, Roger L. wrote:

> XML Catalog only works if:
>      - you have pre-knowledge of exactly what URLs will
>        be present in the XML (XSLT, XSD, RNG, SVG, etc.)
>        documents that you receive/process
>       - the XML documents will always contain the correct
>         URL; there will never be any accidental or malicious
>         alteration of URLs
> Yes?

Not really.

A common (and probably original) scenario is that you have a certain 
numer of locally installed dtd and a catalog mapping their canonical, 
external, names to the local copies.

Your configuration (or physical lack of connectivity) means that 
reference to external dtd will, in general, fail (which is what you 
would want if you are paranoid) so using a catalog you can ensure that 
the only external dtd that get referenced are the ones that you want to 

As John says though, if the document has an internal subset then dtd 
validation tells you nothing about the document other than that it is or 
is not self consistent.


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. 

[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