<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 132: Transparent decompression in libxml2 is deprecated</title><link>https://sourceforge.net/p/xmlstar/bugs/132/</link><description>Recent changes to 132: Transparent decompression in libxml2 is deprecated</description><atom:link href="https://sourceforge.net/p/xmlstar/bugs/132/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 29 Jan 2025 18:28:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xmlstar/bugs/132/feed.rss" rel="self" type="application/rss+xml"/><item><title>Transparent decompression in libxml2 is deprecated</title><link>https://sourceforge.net/p/xmlstar/bugs/132/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Today, a command like:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;echo&lt;span class="w"&gt; &lt;/span&gt;'&lt;span class="nt"&gt;&amp;lt;xml&amp;gt;&lt;/span&gt;Working&lt;span class="nt"&gt;&amp;lt;/xml&amp;gt;&lt;/span&gt;'&lt;span class="w"&gt; &lt;/span&gt;|&lt;span class="w"&gt; &lt;/span&gt;gzip&lt;span class="w"&gt; &lt;/span&gt;|&lt;span class="w"&gt; &lt;/span&gt;xmlstarlet&lt;span class="w"&gt; &lt;/span&gt;sel&lt;span class="w"&gt; &lt;/span&gt;-t&lt;span class="w"&gt; &lt;/span&gt;-v&lt;span class="w"&gt; &lt;/span&gt;/xml&lt;span class="w"&gt; &lt;/span&gt;-nl
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;works fine and is depended on by users. However, the transparent decompression in libxml2 that this relies on is deprecated, is now disabled by default and will likely be completely removed in the future: &lt;a href="https://gitlab.gnome.org/GNOME/libxml2/-/issues/848#note_2333727" rel="nofollow"&gt;https://gitlab.gnome.org/GNOME/libxml2/-/issues/848#note_2333727&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To maintain this feature in the future, xmlstarlet will need to perform the decompression itself. If this is not going to happen, it would be nice to have a statement that this feature will be dropped so users can work around it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Fandrich</dc:creator><pubDate>Wed, 29 Jan 2025 18:28:45 -0000</pubDate><guid>https://sourceforge.net72525d4f4644d4a87e4c6b5ca33865d654da3126</guid></item></channel></rss>