← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [docbook] Debian XML catalog file for MathML is borked

From
Tom Peters <>
Date
2005-05-16T11:30:04+00:00
ID
Thread
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
← Prev in month ← Prev in thread
Next in thread → Next in month →