Bug#1146791: libxml-filter-sort-perl: xmlsort generates corrupt output on non-ASCII characters
Vincent Lefevre
vincent at vinc17.net
Sat Sep 5 17:26:57 BST 2026
Package: libxml-filter-sort-perl
Version: 1.01-4
Severity: important
Consider the following file test.xml:
<?xml version="1.0" encoding="utf-8"?>
<root>
<i>é</i>
<i>a</i>
</root>
I get:
$ xmlsort -r i -k . test.xml
<root>
<i>a</i>
<i>�</i>
</root>
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 7.1.12+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libxml-filter-sort-perl depends on:
ii libxml-sax-perl 1.02+dfsg-5
ii libxml-sax-writer-perl 0.57-3
ii perl 5.42.3-1
libxml-filter-sort-perl recommends no packages.
Versions of packages libxml-filter-sort-perl suggests:
pn libxml-sax-machines-perl <none>
-- no debconf information
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
More information about the pkg-perl-maintainers
mailing list