This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] Debian XML catalog file for MathML is borked
- From: Tom Peters <tpeters at xs4all dot nl>
- To: docbook at lists dot oasis-open dot org
- Date: Mon, 16 May 2005 12:47:52 +0200 (CEST)
- Subject: Re: [docbook] Debian XML catalog file for MathML is borked
Thank you for your detailed answer:
On Mon, 16 May 2005, Michael Smith wrote:
> Please try running xsltproc like this:
>
> SGML_CATALOG_FILES=/etc/sgml/catalog xsltproc --catalogs <stylesheet> <xmlfile>
>
> By default, xsltproc uses the catalog file /etc/xml/catalog, or
> you have the XML_CATALOG_FILES variable set, whatever catalogs it
> finds in there.
>
> The --catalogs switch tells xsltproc to instead use the catalog
> file in SGML_CATALOG_FILES.
OK, this works;
> Anyway, in looking at the Debian /etc/xml/catalog file, I realized
> that there is a typo in it. It has this:
>
> <delegateSystem
> systemIdStartString="ttp://www.oasis-open.org/docbook/xml/mathml/"
> catalog="file:///etc/xml/docbook-mathml.xml"/>$
>
> That is, the value of the systemIdStartString attribute there
> starts with "ttp" instead of "http".
>
> So, xsltproc never finds a match for the
> "http://www.oasis-open.org/docbook/xml/mathml/ URI.
> wget http://docbook.sourceforge.net/debian/unstable/docbook-mathml_1.0.0-3_all.deb
> dpkg --install docbook-mathml_1.0.0-3_all.deb
I installed your "unstable" mathml package which (among other things)
repairs the typo in the URI. Nevertheless xsltproc still cannot find
mathml through the XML catalogs. So I suppose I am stuck with the SGML
catalogs. Weird.
--
#>!$!%(@^%#%*(&(#@#*$^@^$##*#@&(%)@**$!(&!^(#((#&%!)%*@)(&$($$%(@#)&*!^$)^@*^@)
Tom Peters
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org