projects/guix·blob python-team · refs

44 lines · 1.2 KiB

1Upstream-status: https://sourceforge.net/p/docbook2x/bugs/25/
2
3From 040f468fcfae3fe67818023ebc54f3f48fc1bfd9 Mon Sep 17 00:00:00 2001
4From: Sebastian Pipping <[email protected]>
5Date: Mon, 24 Feb 2025 23:25:40 +0100
6Subject: [PATCH] Fix invalid redeclaration of predefined XML entity "&lt;"
7
8Section "4.6 Predefined Entities" of XML 1.0r4 is clear that:
9
10> If the entities lt or amp are declared, they MUST be declared
11> as internal entities whose replacement text is a character reference
12> to the respective character (less-than sign or ampersand) being escaped[.]
13
14Source:
15https://www.w3.org/TR/2006/REC-xml-20060816/#sec-predefined-ent
16---
17 xslt/common/text/l10n-set.xml | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/xslt/common/text/l10n-set.xml b/xslt/common/text/l10n-set.xml
21index 0ed7454..b2c334b 100644
22--- a/xslt/common/text/l10n-set.xml
23+++ b/xslt/common/text/l10n-set.xml
24@@ -21,7 +21,7 @@
25 <!ENTITY it SYSTEM "it.xml">
26 <!ENTITY ja SYSTEM "ja.xml">
27 <!ENTITY ko SYSTEM "ko.xml">
28-<!ENTITY lt SYSTEM "lt.xml">
29+<!ENTITY lt_ SYSTEM "lt.xml">
30 <!ENTITY nl SYSTEM "nl.xml">
31 <!ENTITY nn SYSTEM "nn.xml">
32 <!ENTITY no SYSTEM "no.xml">
33@@ -65,7 +65,7 @@
34 &it;
35 &ja;
36 &ko;
37-&lt;
38+&lt_;
39 &nl;
40 &nn;
41 &no;
42--
432.48.1
44