[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xkb-data: Problem is in /usr/share/X11/xkb/rules/xorg.xml



Followup-For: Bug #394060
Package: xkb-data
Version: 0.9-3

*** Please type your report below this line ***
[bugs.debian.org didn't deliever my original mail, so I send it directly
to you]

The problem is, that there's a number of entries in 

  /usr/share/X11/xkb/rules/xorg.xml

that descripts 'Dvojni <> (guillemets)' which are invalid XML syntax.
For example on line 4947, it says 

  <description xml:lang="sl">Dvojni <> (guillemets) namesto
navednic</description>

The problem is the '<>' in the char-data part of the element.  These, 
especially '<' are not valid characters in this context.  The line
should probably read something like 

  <description xml:lang="sl">Dvojni &lt;&gt; (guillemets) namesto
navednic</description>

That is, '<>' is replaced with '&lt;&gt;'.   Perhaps it should be some
unicode character instead.  

Note, other rule files may suffer the same problem.

I've attached a patch. 

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

-- no debconf information


-- 
 ___  |  Christian Holm Christensen 
  |_| |  -------------------------------------------------------------
    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|            Denmark                    Office: (+45) 353  25 404
 ____|   Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
 | |
--- /usr/share/X11/xkb/rules/xorg.xml.keep	2006-10-19 23:17:03.000000000 +0200
+++ /usr/share/X11/xkb/rules/xorg.xml	2006-10-19 23:18:45.000000000 +0200
@@ -4944,7 +4944,7 @@
             <description xml:lang="hu">»Csúcsos« idézÅ?jelek használata idézetekhez</description>
             <description xml:lang="ka">á?€á? á??á??á??á?£á??á?? á??á? á?­á?§á??á??á??á??á??á?¡, á??á? á?­á?§á??á??á??á??á??á?? á??á??á??á??á?§á??á??á??á??á??</description>
             <description xml:lang="ru">Ð?Ñ?пПлÑ?зПваÑ?Ñ? Ñ?Ñ?аМÑ?Ñ?зÑ?кОе кавÑ?Ñ?кО как кавÑ?Ñ?кО</description>
-            <description xml:lang="sl">Dvojni <> (guillemets) namesto navednic</description>
+            <description xml:lang="sl">Dvojni &lt;&gt; (guillemets) namesto navednic</description>
             <description xml:lang="tr">Tırnakların yerine açılı ayraçlar kullanılır</description>
           </configItem>
         </variant>
@@ -5493,7 +5493,7 @@
             <description xml:lang="hu">»Csúcsos« idézÅ?jelek használata idézetekhez</description>
             <description xml:lang="ka">á?€á? á??á??á??á?£á??á?? á??á? á?­á?§á??á??á??á??á??á?¡, á??á? á?­á?§á??á??á??á??á??á?? á??á??á??á??á?§á??á??á??á??á??</description>
             <description xml:lang="ru">Ð?Ñ?пПлÑ?зПваÑ?Ñ? Ñ?Ñ?аМÑ?Ñ?зÑ?кОе кавÑ?Ñ?кО как кавÑ?Ñ?кО</description>
-            <description xml:lang="sl">Dvojni <> (guillemets) namesto navednic</description>
+            <description xml:lang="sl">Dvojni &lt;&gt; (guillemets) namesto navednic</description>
             <description xml:lang="tr">Tırnakların yerine açılı ayraçlar kullanılır</description>
           </configItem>
         </variant>
@@ -10171,7 +10171,7 @@
             <description xml:lang="hu">»Csúcsos« idézÅ?jelekkel</description>
             <description xml:lang="ka">á??á? á??á??á??á?£á??á?? á??á? á?­á?§á??á??á??á??á??á??</description>
             <description xml:lang="ru">С Ñ?Ñ?аМÑ?Ñ?зÑ?кОЌО кавÑ?Ñ?каЌО</description>
-            <description xml:lang="sl">Z dvojnimi <> (Guillemots)</description>
+            <description xml:lang="sl">Z dvojnimi &lt;&gt; (Guillemots)</description>
             <description xml:lang="tr">Açılı ayraçlarla</description>
           </configItem>
         </variant>
@@ -10183,7 +10183,7 @@
             <description xml:lang="hu">Latin, »csúcsos« idézÅ?jelekkel</description>
             <description xml:lang="ka">á??á??á??á??á??á?£á? á?? á?€á? á??á??á??á?£á??á?? á??á? á?­á?§á??á??á??á??á??á??</description>
             <description xml:lang="ru">Ð?аÑ?ОМÑ?каÑ? Ñ? Ñ?Ñ?аМÑ?Ñ?зÑ?кОЌО кавÑ?Ñ?каЌО</description>
-            <description xml:lang="sl">Latinska z dvojnimi <> (Guillemots)</description>
+            <description xml:lang="sl">Latinska z dvojnimi &lt;&gt; (Guillemots)</description>
             <description xml:lang="tr">Açılı ayraçlarla Latin</description>
           </configItem>
         </variant>
@@ -10247,7 +10247,7 @@
             <description xml:lang="hu">»Csúcsos« idézÅ?jelek használata idézetekhez</description>
             <description xml:lang="ka">á?€á? á??á??á??á?£á??á?? á??á? á?­á?§á??á??á??á??á??á?¡, á??á? á?­á?§á??á??á??á??á??á?? á??á??á??á??á?§á??á??á??á??á??</description>
             <description xml:lang="ru">Ð?Ñ?пПлÑ?зПваÑ?Ñ? Ñ?Ñ?аМÑ?Ñ?зÑ?кОе кавÑ?Ñ?кО как кавÑ?Ñ?кО</description>
-            <description xml:lang="sl">Dvojni <> (guillemets) namesto navednic</description>
+            <description xml:lang="sl">Dvojni &lt;&gt; (guillemets) namesto navednic</description>
             <description xml:lang="tr">Tırnakların yerine açılı ayraçlar kullanılır</description>
           </configItem>
         </variant>

Reply to: