[xml/sgml-pkgs] Bug#1000816: xmlAddEntity: invalid redeclaration of predefined entity

Vincent Lefevre vincent at vinc17.net
Mon Nov 29 15:49:09 GMT 2021


Package: docbook2x
Version: 0.8.8-17+b1
Severity: normal

Consider as a simple testcase test.xml:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<book/>

I get:

$ /usr/bin/docbook2x-texi test.xml
error : xmlAddEntity: invalid redeclaration of predefined entity
[...]

"xmllint --loaddtd --valid test.xml" does not show any redeclaration
of predefined entity issue. So this seems to come from docbook2x-texi.

-- 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.15.0-1-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 docbook2x depends on:
ii  libc6                  2.32-4
ii  libtext-wrapi18n-perl  0.06-9
ii  libxml-sax-expat-perl  0.51-1
ii  opensp                 1.5.2-13+b2
ii  perl                   5.32.1-6
ii  texinfo                6.8-3
ii  xml-core               0.18+nmu1
ii  xsltproc               1.1.34-4

Versions of packages docbook2x recommends:
ii  docbook-xml  4.5-11
ii  docbook-xsl  1.79.2+dfsg-1

docbook2x suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre <vincent at 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)



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