Re: [xml] xmlcatalog: discrepancy between shell and command line usage



Daniel Veillard <veillard redhat com> wrote:

On Mon, Oct 18, 2004 at 01:32:08PM +0200, Markus Hoenicka wrote:
Hi,

I came across this somewhat unexpected behaviour of xmlcatalog:

markus mortimer ~/prog/refdb-0.9.5-pre6$ xmlcatalog --shell public
http://docbook.sourceforge.net/release/xsl/current/nonexistent/docbook.xsl
No entry for PUBLIC
http://docbook.sourceforge.net/release/xsl/current/nonexistent/docbook.xsl

markus mortimer ~/prog/refdb-0.9.5-pre6$ xmlcatalog /etc/xml/catalog
http://docbook.sourceforge.net/release/xsl/current/nonexistent/docbook.xsl
file:///usr/share/xml/docbook/stylesheet/nwalsh/nonexistent/docbook.xsl


  xmlcatalog cannot check the output of a rewriteURL actually exists.
The problem is in your catalog file, not in xmlcatalog IMHO.


There is actually no problem in my catalog file (it is automatically generated
by the Debian package system). These were only test queries to emulate what
happens if a stylesheet is not present on a target system.

I gather that the xmlcatalog tool is not intended to check for the existence of
a rewritten URL. This is fine with me, I just have to apply a AC_CHECK on the
rewritten URL in my configure script.

Thanks,
Markus


-- 
Markus Hoenicka
markus hoenicka cats de
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]