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

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

Package: w3-dtd-mathml
Severity: normal

/etc/xml/catalog doesn't contain a reference to the MathML DTD.

With the example from Wikipedia:

xvii:~> cat example.mml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN"
<math xmlns="http://www.w3.org/1998/Math/MathML";>
    <mo>&#x2062;<!-- &InvisibleTimes; --></mo>
    <mo>&#x2062;<!-- &InvisibleTimes; --></mo>

xvii:~> xmllint --nonet --noout --loaddtd example.mml
I/O error : Attempt to load network entity http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
example.mml:3: warning: failed to load external entity "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd";

There are no calls to update-xmlcatalog in the postinst script,
contrary to the postinst script of docbook-mathml, for instance.

A dependency on xml-core (>= 0.05) should probably be added too
(like docbook-mathml).

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages w3-dtd-mathml depends on:
ii  sgml-base                     1.26+nmu1  SGML infrastructure and SGML catal

w3-dtd-mathml recommends no packages.

Versions of packages w3-dtd-mathml suggests:
ii  docbook-mathml                1.0.0-2    Extension to DocBook XML for using

-- no debconf information

Reply to: