Re: [xml-dev] RE: Compelling use case for XML Catalogs?
I think XML Catalogs would be more interesting if, besides binding
URLs to internal resources, they could bind namespaces to internal
resources. Still, there would be limitations which might be quite irksome
though, such as: Binding a namespace to a local schema might be
then be achievable, but what about stylesheets, etc? It would have to
be a lot more sophisticated to handle all the kinds of scenarios Roger
seems to be envisioning, such as all the uses of URLs with XML.
----
Stephen D Green
On 13 June 2011 16:28, David Lee <[email protected]> wrote:
Interesting question, but I fail to see the issue.
What would be the use of an XML Catalog that "handled" unknown or unexpected
URL's ?
What would be the expected behavior (besides "not found") for a URL which
was not registered in the catalog ?
----------------------------------------
David A. Lee
[email protected]
http://www.xmlsh.org
-----Original Message-----
From: Costello, Roger L. [mailto:[email protected]]
Sent: Monday, June 13, 2011 11:25 AM
To: [email protected]
Subject: RE: [xml-dev] RE: Compelling use case for XML Catalogs?
John Cowan responded to my post:
> Does XML Catalog have the ability to express this:
>>
>>[snip various conditional things]
>>
>> No, of course not. Catalogs can only express one thing: when you
>> see this URI, use this other URI instead. (And ditto for public
>> identifiers.)
The inability of XML Catalog to check for the presence of correct URLs seems
like a significant limitation.
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?
/Roger
_______________________________________________________________________
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: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
_______________________________________________________________________
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: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php