Skip to content

Invalid XML in libxfce4kbd-private/xfce4-keyboard-shortcuts.xml

The file libxfce4kbd-private/xfce4-keyboard-shortcuts.xml contains some lines like

<property name="<Super>KP_Left" type="string" value="tile_left_key"/>

near the end. However, XML does not permit angle-brackets in attribute values. So I guess this line should rather read

<property name="&lt;Super&gt;KP_Left" type="string" value="tile_left_key"/>

similar to most of the lines in the file.

I discovered this because I'm running xmlstarlet to adapt this file during system installation. xmlstarlet complains that the XML file is not valid and cannot be processed.

Reference: The lines that make xmlstarlet complain got inserted with b7a75bf9