Package: w3-dtd-mathml
Version: 2.0.0.0-5
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
              ^
test

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

Attachment: test.ods
Description: application/vnd.oasis.opendocument.spreadsheet

- no title specified

test

Reply via email to