[xml/sgml-pkgs] Bug#993638: Bug#993638: libxml2: XHTML 1.0 validation is broken

Thorsten Glaser t.glaser at tarent.de
Mon Sep 20 16:08:26 BST 2021


On Mon, 20 Sep 2021, Vincent Lefevre wrote:

> Then libxml2 can find the right file on the local file system via
> catalogs. In my case (which is the *default* setup with Debian

I never understood this catalogue thing. When I tried it, it didn’t
work for me (that may admittedly have been multiple releases ago),
the documentation was as good as Chinese to me, and… meh.

> Hmm... there seems to be a subtle difference in xhtml-special.ent:

Interesting.

I’m working with an XHTML 1.1 DTD, which has the entities inline
(not sure if that was my doing or if I got it like this) and it
too has:

<!-- C0 Controls and Basic Latin -->
<!ENTITY quot    """> <!--  quotation mark, U+0022 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 -->
<!-- note: not specified in HTML 4 -->
<!ENTITY apos    "'"> <!--  apostrophe = APL quote, U+0027 ISOnum -->

But if this upstream change affects DTDs that were once released, maybe
it should accept, but ignore, this specific wrong redeclaration. Though
you said the bug was introduced in a Debian package only… where did the
package get the wrong .ent files from? If this is truly Debian-local, I
agree nothing than the conflict is probably needed.

bye,
//mirabilos
-- 
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)



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