| 1 | Upstream-status: https://sourceforge.net/p/docbook2x/bugs/25/
|
| 2 |
|
| 3 | From 040f468fcfae3fe67818023ebc54f3f48fc1bfd9 Mon Sep 17 00:00:00 2001
|
| 4 | From: Sebastian Pipping <[email protected]>
|
| 5 | Date: Mon, 24 Feb 2025 23:25:40 +0100
|
| 6 | Subject: [PATCH] Fix invalid redeclaration of predefined XML entity "<"
|
| 7 |
|
| 8 | Section "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 |
|
| 14 | Source:
|
| 15 | https://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 |
|
| 20 | diff --git a/xslt/common/text/l10n-set.xml b/xslt/common/text/l10n-set.xml
|
| 21 | index 0ed7454..b2c334b 100644
|
| 22 | |
| 23 | |
| 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 | ⁢
|
| 35 | &ja;
|
| 36 | &ko;
|
| 37 | -<
|
| 38 | +<_;
|
| 39 | &nl;
|
| 40 | &nn;
|
| 41 | &no;
|
| 42 | --
|
| 43 | 2.48.1
|
| 44 |
|