Your message dated Mon, 18 Nov 2024 07:50:10 +0000
with message-id <e1tcwwq-00hkvu...@fasolo.debian.org>
and subject line Bug#994795: fixed in w3-dtd-mathml 2.0.0.0-6
has caused the Debian Bug report #994795,
regarding w3-dtd-mathml: invalid redeclaration of predefined entities amp and
lt yields failures with libxml2 2.9.12
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
994795: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994795
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: w3-dtd-mathml
Version: 2.0.0.0-5.1
Severity: grave
Tags: patch
Justification: renders package unusable
The incorrect amp and lt entity redefinition yields failures with
libxml2 2.9.12, which is now in Debian. This introduces a major
regression.
Here's a testcase for one of the buggy files.
$ cat test.xml
<?xml version="1.0"?>
<!DOCTYPE root [
<!ENTITY % ent-isonum
PUBLIC "-//W3C//ENTITIES Numeric and Special Graphic for MathML 2.0//EN"
"http://www.w3.org/TR/MathML2/dtd/isonum.ent">
%ent-isonum;
]>
<root/>
$ xmllint --nonet --noout --noent test.xml
error : xmlAddEntity: invalid redeclaration of predefined entity
error : xmlAddEntity: invalid redeclaration of predefined entity
The attached patch fixes this bug.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993638 about a
similar problem in the old w3c-dtd-xhtml package (no longer in Debian)
and the behavior of libxml2 2.9.12.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500,
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages w3-dtd-mathml depends on:
ii sgml-base 1.30
ii xml-core 0.18+nmu1
w3-dtd-mathml recommends no packages.
Versions of packages w3-dtd-mathml suggests:
ii docbook-mathml 1.1CR1-2.1
-- no debconf information
--
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Description: Fix redeclaration of predefined entities amp and lt.
The redeclaration of these entities is invalid and libxml2 2.9.12
checks that a redeclaration is equivalent to the predefined one.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993638 about
the same issue in w3c-dtd-xhtml and a long discussion.
Author: Vincent Lefevre <vinc...@vinc17.net>
Last-Update: 2021-09-21
Index: b/isonum.ent
===================================================================
--- a/isonum.ent
+++ b/isonum.ent
@@ -25,7 +25,7 @@
-->
-<!ENTITY amp "&&" ><!--=ampersand -->
+<!ENTITY amp "&#38;" ><!--=ampersand -->
<!ENTITY apos "'" ><!--=apostrophe -->
<!ENTITY ast "*" ><!--/ast B: =asterisk -->
<!ENTITY brvbar "¦" ><!--=broken (vertical) bar -->
@@ -63,7 +63,7 @@
<!ENTITY lpar "(" ><!--O: =left parenthesis -->
<!ENTITY lsqb "[" ><!--/lbrack O: =left square bracket -->
<!ENTITY lsquo "‘" ><!--=single quotation mark, left -->
-<!ENTITY lt "&<" ><!--=less-than sign R: -->
+<!ENTITY lt "&#60;" ><!--=less-than sign R: -->
<!ENTITY micro "µ" ><!--=micro sign -->
<!ENTITY middot "·" ><!--/centerdot B: =middle dot -->
<!ENTITY nbsp " " ><!--=no break (required) space -->
Index: b/xhtml-math11-f.dtd
===================================================================
--- a/xhtml-math11-f.dtd
+++ b/xhtml-math11-f.dtd
@@ -1874,8 +1874,8 @@
<!-- C0 Controls and Basic Latin -->
<!ENTITY quot """ ><!-- quotation mark = APL quote, U+0022 ISOnum -->
-<!ENTITY amp "&" ><!-- ampersand, U+0026 ISOnum -->
-<!ENTITY lt "<" ><!-- less-than sign, U+003C ISOnum -->
+<!ENTITY amp "&#38;" ><!-- ampersand, U+0026 ISOnum -->
+<!ENTITY lt "&#60;" ><!-- less-than sign, U+003C ISOnum -->
<!ENTITY gt ">" ><!-- greater-than sign, U+003E ISOnum -->
<!-- Latin Extended-A -->
@@ -8393,7 +8393,7 @@
-->
-<!ENTITY amp "&&" ><!--=ampersand -->
+<!ENTITY amp "&#38;" ><!--=ampersand -->
<!ENTITY apos "'" ><!--=apostrophe -->
<!ENTITY ast "*" ><!--/ast B: =asterisk -->
<!ENTITY brvbar "¦" ><!--=broken (vertical) bar -->
@@ -8431,7 +8431,7 @@
<!ENTITY lpar "(" ><!--O: =left parenthesis -->
<!ENTITY lsqb "[" ><!--/lbrack O: =left square bracket -->
<!ENTITY lsquo "‘" ><!--=single quotation mark, left -->
-<!ENTITY lt "&<" ><!--=less-than sign R: -->
+<!ENTITY lt "&#60;" ><!--=less-than sign R: -->
<!ENTITY micro "µ" ><!--=micro sign -->
<!ENTITY middot "·" ><!--/centerdot B: =middle dot -->
<!ENTITY nbsp " " ><!--=no break (required) space -->
--- End Message ---
--- Begin Message ---
Source: w3-dtd-mathml
Source-Version: 2.0.0.0-6
Done: Andreas Tille <ti...@debian.org>
We believe that the bug you reported is fixed in the latest version of
w3-dtd-mathml, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 994...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Tille <ti...@debian.org> (supplier of updated w3-dtd-mathml package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 18 Nov 2024 08:28:20 +0100
Source: w3-dtd-mathml
Architecture: source
Version: 2.0.0.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Closes: 994795
Changes:
w3-dtd-mathml (2.0.0.0-6) unstable; urgency=medium
.
* Team upload.
.
[ Andreas Tille ]
* Move to Debian Science team since old team does not exist any more and
it might fit into Debian Science somehow
* There is not really something to download for watch file but at least
report new version
* Standards-Version: 4.7.0 (routine-update)
* debhelper-compat 13 (routine-update)
* Remove trailing whitespace in debian/changelog (routine-update)
* Remove trailing whitespace in debian/control (routine-update)
* Remove trailing whitespace in debian/copyright (routine-update)
* Rules-Requires-Root: no (routine-update)
* Use secure URI in Homepage field.
* Add missing build dependency on xml-core for command dh_installxmlcatalogs.
* watch file standard 4 (routine-update)
* d/copyright: DEP5
.
[ Adrian Bunk ]
* Fix invalid redeclaration of predefined entities amp and lt yields failures
with libxml2 2.9.12
Closes: #994795
Checksums-Sha1:
8c2c34b7ed17a5b0da94ff406c7cb347c2592924 2019 w3-dtd-mathml_2.0.0.0-6.dsc
38d143276ab923abfa8e94f573489822728075d1 3512
w3-dtd-mathml_2.0.0.0-6.debian.tar.xz
810012192e84b4d2e1e731ae58cc98896e4c767a 6049
w3-dtd-mathml_2.0.0.0-6_amd64.buildinfo
Checksums-Sha256:
e05859e2144a452ab0d926f51e1e4a0d87e9eeb3e009517c5440dba612ad694d 2019
w3-dtd-mathml_2.0.0.0-6.dsc
a435113c9e546423a56521c837fde468ac9831907b40e01ddc274ee1413a8581 3512
w3-dtd-mathml_2.0.0.0-6.debian.tar.xz
6aad52c0885b84b104c1f4b270dd3a843fdd9b7d3d554be55941930f657aacdf 6049
w3-dtd-mathml_2.0.0.0-6_amd64.buildinfo
Files:
48d31fb0a1c65d3e0739995149dbc20c 2019 text optional w3-dtd-mathml_2.0.0.0-6.dsc
46ea546460f10f96522e69fb4e0a9984 3512 text optional
w3-dtd-mathml_2.0.0.0-6.debian.tar.xz
6e0e6ed78e4cf5eaf4273f406e8eef94 6049 text optional
w3-dtd-mathml_2.0.0.0-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmc67UMRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtE/0A/8CXsbvzs02UljS09X2EUtt8zkc5tEvReO
Z2fRlvyUXyLBx7cvK/8BOaesffDEqQHKLSHLA9y4I+RqI7SWYJUXv3SYIZjXIrVo
XQizsvkaAQn06ioKToQ/MbDK1h4K/AnvoMzns0JMrvGrxPVFkCAqJobk0i4tXxWw
SC3Q6Md0+SEzIAKcyDCiYldbcb4wtkqEBA9vWc08W6y7sWCGoTzwuKd+pe3xQ2Rf
hk2xSLpiEqLDkJpaeJL94/g3hvNh+n/zh9Glw7Kkul9blSGnNBJnXOvJxg3IATrz
c9S2RVnGPsiklkjapLhxn0g1/zCOSUXMownIqAy7wjc5WRUbUVxtNQNgOwmcPXTY
bPRn5I/ebNKxSxw2ciPvV17YaJQJlGTruH09Wcs1xcCLRhH91xvXFw4gkDCrfgEo
JjT9gG9sfluhOolN34URfBhph4gikb8QdVtDTgz6WoxbxtrU3jguIsHaTmdVC4pM
YDvX4VvV4VAKxaqZhK5XCjUTi+oFs/TxmwqUP9DNmkW5lkw1pNm2SV7aByhDTAUK
FoRulWY9VWpybQKJ1FbAOGuwXSg2HCVUh+7qdkED4Md3edavOg6lIyshJEa33gk6
PzD/Ivw515fg5+/+FVd8o2uyWIMEjZynkcW9zOrBwd5PpOX0d4wFjVKz2LHh7aln
QCFFmAu8iQQ=
=LAtQ
-----END PGP SIGNATURE-----
pgpRV5PQQcgXg.pgp
Description: PGP signature
--- End Message ---