[xml/sgml-pkgs] Bug#993638: xmlParseEntityDecl: entity xhtml-qname-extra.mod not terminated

Vincent Lefevre vincent at vinc17.net
Mon Sep 20 16:41:39 BST 2021


On 2021-09-20 15:00:00 +0000, Torrance, Douglas wrote:
> On Mon 20 Sep 2021 08:17:11 AM EDT, Vincent Lefevre <vincent at vinc17.net> wrote:
> > The error message is different. I'd say that this is a different issue.
> 
> Fair enough.  I think it's related -- the latest release is more strict about
> DTD files --

Yes, but there seem to be many changes, thus potentially several kinds
of regressions for different reasons. It is better to report one bug
per kind of regression.

> but involving a different DTD file, xhtml-math-svg.dtd from the
> w3c-sgml-lib package. Here's the output of xmllint, which gives a
> bit more info:
> 
> $  xmllint --noout --loaddtd
> /usr/share/doc/Macaulay2/Macaulay2Doc/html/_ideal.html file:///usr/share/xml/w3c-sgml-lib/schema/dtd/WD-XHTMLplusMathMLplusSVG-20020809/xhtml-math-svg.dtd:338:
> parser error : xmlParseEntityDecl: entity xhtml-qname-extra.mod not
> terminated
>    %xhtml-qname-extra.decl;
>                            ^
> Entity: line 2:
> "http://www.w3.org/Math/DTD/mathml2/mathml2-qname-1.mod"
>                                                                    ^
> Perhaps this should be filed against w3c-sgml-lib?

I don't know about this one. It could be a bug either in libxml2
(e.g. an unexpected regression in a corner case due to some fix
of a more general case) or in the DTD from w3c-sgml-lib. Some
investigation would be needed.

-- 
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