Control: tags -1 + patch Hi all, Since this bug is causing python-biopython removal in testing, I have been scratching my head on this issue, and came up with the patch in attachment, which complements the catalog to reference most MathML 2.0 entities, which are missing. This seems to fix the issue described in the bug description for me, as I don't see I/O errors anymore, and have a long listing of the actual entities instead. This patch is not autogenerated, I have bitten the bullet and manually edited the file by reading the content of mathml2.dtd. I tried to refresh the catalog using upstream's procedure, which is described in their bug tracker[1], but the resulting changes did not address the problem at play. Please note that SGML is far from being my forte, I used strace et caetera to understand how pieces were fitting together. I gladly welcome opinions and corrections. [1]: https://github.com/w3c/markup-validator/issues/66#issuecomment-1031678613 Have a nice day, :) -- Étienne Mollier <emollier@emlwks999.eu> Fingerprint: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da Sent from /dev/pts/4, please excuse my verbosity. On air: Diagonal - Semi Permeable Men-brain
Description: complement mathml2 catalog Author: Étienne Mollier <emollier@debian.org> Bug: https://github.com/w3c/markup-validator/issues/66 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003933 Last-Update: 2022-04-23 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- w3c-sgml-lib-1.3.orig/htdocs/sgml-lib/catalog.xml +++ w3c-sgml-lib-1.3/htdocs/sgml-lib/catalog.xml @@ -15,6 +15,48 @@ <public publicId="-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" uri="XX-MathML2-20031104/xhtml-math11-f.dtd" /> <system systemId="http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" uri="XX-MathML2-20031104/xhtml-math11-f.dtd" /> <system systemId="http://www.w3.org/MarkUp/DTD/xhtml-math11-f.dtd" uri="XX-MathML2-20031104/xhtml-math11-f.dtd" /> + <public publicId="-//W3C//ENTITIES Added Math Symbols: Arrow Relations for MathML 2.0//EN" uri="XX-MathML2-20031104/iso9573-13/isoamsa.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isoamsa.ent" uri="XX-MathML2-20031104/iso9573-13/isoamsa.ent" /> + <public publicId="-//W3C//ENTITIES Added Math Symbols: Binary Operators for MathML 2.0//EN" uri="XX-MathML2-20031104/iso9573-13/isoamsb.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isoamsb.ent" uri="XX-MathML2-20031104/iso9573-13/isoamsb.ent" /> + <public publicId="-//W3C//ENTITIES Added Math Symbols: Delimiters for MathML 2.0//EN" uri="XX-MathML2-20031104/iso9573-13/isoamsc.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isoamsc.ent" uri="XX-MathML2-20031104/iso9573-13/isoamsc.ent" /> + <public publicId="-//W3C//ENTITIES Added Math Symbols: Negated Relations for MathML 2.0//EN" uri="XX-MathML2-20031104/iso9573-13/isoamsn.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isoamsn.ent" uri="XX-MathML2-20031104/iso9573-13/isoamsn.ent" /> + <public publicId="-//W3C//ENTITIES Added Math Symbols: Ordinary for MathML 2.0//EN" uri="XX-MathML2-20031104/iso9573-13/isoamso.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isoamso.ent" uri="XX-MathML2-20031104/iso9573-13/isoamso.ent" /> + <public publicId="-//W3C//ENTITIES Added Math Symbols: Relations for MathML 2.0//EN" uri="XX-MathML2-20031104/iso9573-13/isoamsr.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isoamsr.ent" uri="XX-MathML2-20031104/iso9573-13/isoamsr.ent" /> + <public publicId="-//W3C//ENTITIES Greek Symbols for MathML 2.0//EN" uri="XX-MathML2-20031104/iso9573-13/isogrk3.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isogrk3.ent" uri="XX-MathML2-20031104/iso9573-13/isogrk3.ent" /> + <public publicId="-//W3C//ENTITIES Math Alphabets: Fraktur for MathML 2.0//EN" uri="XX-MathML2-20031104/iso9573-13/isomfrk.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isomfrk.ent" uri="XX-MathML2-20031104/iso9573-13/isomfrk.ent" /> + <public publicId="-//W3C//ENTITIES Math Alphabets: Open Face for MathML 2.0//EN" uri="XX-MathML2-20031104/iso9573-13/isomopf.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isomopf.ent" uri="XX-MathML2-20031104/iso9573-13/isomopf.ent" /> + <public publicId="-//W3C//ENTITIES Math Alphabets: Script for MathML 2.0//EN" uri="XX-MathML2-20031104/iso9573-13/isomscr.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isomscr.ent" uri="XX-MathML2-20031104/iso9573-13/isomscr.ent" /> + <public publicId="-//W3C//ENTITIES General Technical for MathML 2.0//EN" uri="XX-MathML2-20031104/iso9573-13/isotech.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isotech.ent" uri="XX-MathML2-20031104/iso9573-13/isotech.ent" /> + <public publicId="-//W3C//ENTITIES Box and Line Drawing for MathML 2.0//EN" uri="XX-MathML2-20031104/iso8879/isobox.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isobox.ent" uri="XX-MathML2-20031104/iso8879/isobox.ent" /> + <public publicId="-//W3C//ENTITIES Russian Cyrillic for MathML 2.0//EN" uri="XX-MathML2-20031104/iso8879/isocyr1.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isocyr1.ent" uri="XX-MathML2-20031104/iso8879/isocyr1.ent" /> + <public publicId="-//W3C//ENTITIES Non-Russian Cyrillic for MathML 2.0//EN" uri="XX-MathML2-20031104/iso8879/isocyr2.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isocyr2.ent" uri="XX-MathML2-20031104/iso8879/isocyr2.ent" /> + <public publicId="-//W3C//ENTITIES Diacritical Marks for MathML 2.0//EN" uri="XX-MathML2-20031104/iso8879/isodia.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isodia.ent" uri="XX-MathML2-20031104/iso8879/isodia.ent" /> + <public publicId="-//W3C//ENTITIES Added Latin 1 for MathML 2.0//EN" uri="XX-MathML2-20031104/iso8879/isolat1.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isolat1.ent" uri="XX-MathML2-20031104/iso8879/isolat1.ent" /> + <public publicId="-//W3C//ENTITIES Added Latin 2 for MathML 2.0//EN" uri="XX-MathML2-20031104/iso8879/isolat2.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isolat2.ent" uri="XX-MathML2-20031104/iso8879/isolat2.ent" /> + <public publicId="-//W3C//ENTITIES Numeric and Special Graphic for MathML 2.0//EN" uri="XX-MathML2-20031104/iso8879/isonum.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isonum.ent" uri="XX-MathML2-20031104/iso8879/isonum.ent" /> + <public publicId="-//W3C//ENTITIES Publishing for MathML 2.0//EN" uri="XX-MathML2-20031104/iso8879/isopub.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/isopub.ent" uri="XX-MathML2-20031104/iso8879/isopub.ent" /> + <public publicId="-//W3C//ENTITIES Extra for MathML 2.0//EN" uri="XX-MathML2-20031104/mathml/mmlextra.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/mmlextra.ent" uri="XX-MathML2-20031104/mathml/mmlextra.ent" /> + <public publicId="-//W3C//ENTITIES Aliases for MathML 2.0//EN" uri="XX-MathML2-20031104/mathml/mmlalias.ent" /> + <system systemId="http://www.w3.org/TR/MathML2/dtd/mmlalias.ent" uri="XX-MathML2-20031104/mathml/mmlalias.ent" /> <public publicId="-//W3C//DTD MathML 3.0//EN" uri="REC-MathML3-20101021/mathml3.dtd" /> <system systemId="http://www.w3.org/Math/DTD/mathml3/mathml3.dtd" uri="REC-MathML3-20101021/mathml3.dtd" /> <public publicId="-//W3C//ENTITIES MathML 3.0 Qualified Names 1.0//EN" uri="REC-MathML3-20101021/mathml3-qname.mod" />
Attachment:
signature.asc
Description: PGP signature