[xml/sgml-pkgs] Bug#751230: w3-dtd-mathml: xhtml-math11-f.dtd contains a PI name with colon, which is forbidden

Vincent Lefevre vincent at vinc17.net
Wed Jun 11 09:50:08 UTC 2014

Package: w3-dtd-mathml
Severity: normal

/usr/share/xml/schema/w3c/mathml/dtd/xhtml-math11-f.dtd contains
a PI name with colon, which is forbidden. This makes libxml2
output a warning on a XHTML file generated with LibreOffice:

$ xmllint --loaddtd --noout test.html
file:///usr/share/xml/schema/w3c/mathml/dtd/xhtml-math11-f.dtd:239: namespace error : colon are forbidden from PI names 'IS10744:arch'
<?IS10744:arch xhtml

or via xmlstarlet:

$ xmlstarlet sel -t -v //_:td -n test.html
file:///usr/share/xml/schema/w3c/mathml/dtd/xhtml-math11-f.dtd:239.15: colon are forbidden from PI names 'IS10744:arch'
<?IS10744:arch xhtml

I've attached the test.ods OpenDocument Spreadsheet and the generated
test.html XHTML file.

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

Kernel: Linux 3.11-2-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+nmu4
ii  xml-core   0.13+nmu2

w3-dtd-mathml recommends no packages.

Versions of packages w3-dtd-mathml suggests:
ii  docbook-mathml  1.1CR1-2

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ods
Type: application/vnd.oasis.opendocument.spreadsheet
Size: 11044 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20140611/f944d05b/attachment-0001.ods>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20140611/f944d05b/attachment-0001.html>

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