[xml/sgml-pkgs] Bug#637394: w3-dtd-mathml: /etc/xml/catalog doesn't contain a reference to the MathML DTD

Vincent Lefevre vincent at vinc17.net
Thu May 10 16:08:00 UTC 2012


found 637394 2.0.0.0-3
severity 637394 serious
thanks

Raising to serious since I suspect a missing dependency on xml-core
(a fix of this bug would imply a dependency on xml-core, since
update-xmlcatalog is necessary).

On 2011-08-13 10:25:19 +0200, Ralf Treinen wrote:
> > /etc/xml/catalog doesn't contain a reference to the MathML DTD.
> 
> this package is currently orphaned. Could you please propose a patch
> for fixing this bug?

I'm not sure about the primary cause of the bug (see below), but
a diff shows that the following lines have been removed from the
postinst script.

------------------------------------------------------------------------

# Automatically added by dh_installcatalogs
if [ "$1" = "configure" ]; then
        update-xmlcatalog --add --type public --id "-//W3C//DTD MathML" --package w3-dtd-mathml --local /usr/share/xml/schema/w3c/mathml/dtd/catalog.xml
        update-xmlcatalog --add --type public --id "-//W3C//DTD XHTML 1.1 plus MathML" --package w3-dtd-mathml --local /usr/share/xml/schema/w3c/mathml/dtd/catalog.xml
        update-xmlcatalog --add --type system --id "http://www.w3.org/TR/MathML2/dtd/" --package w3-dtd-mathml --local /usr/share/xml/schema/w3c/mathml/dtd/catalog.xml

        update-xmlcatalog --add --type public --id "-//W3C//DTD MathML" --package w3-dtd-mathml --root
        update-xmlcatalog --add --type public --id "-//W3C//DTD XHTML 1.1 plus MathML" --package w3-dtd-mathml --root
        update-xmlcatalog --add --type system --id "http://www.w3.org/TR/MathML2/dtd/" --package w3-dtd-mathml --root

fi
# End automatically added section


exit 0

------------------------------------------------------------------------

dh_installcatalogs lines have also been removed from the postrm and
prerm scripts. And /usr/share/xml/schema/w3c/mathml/dtd/catalog.xml
has been removed too.

I can see that 2.0.0.0-1 was depending on xml-core, but this is
no longer the case. Nothing about that in the ChangeLog, so this
is probably unintentional.

Note that w3c-dtd-xhtml doesn't have this problem and depends on
xml-core.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)





More information about the debian-xml-sgml-pkgs mailing list