On Sat Oct 26 21:45:08 2024 +0000, Fabian Maurer wrote:
(Also looks like I suck at reading libxml2 source code.
xmlSaveSetIndentString has been deprecated for five months, not two years.) xmlSaveSetIndentString is not deprecated, did you mean something else?
The recommended replacement is configuring the save context, using a
function that doesn't exist until 2.14 But that won't work for the `xmlNodeDumpOutput` case, should we report that usecase to them?
xmlSaveSetIndentString is not deprecated in libxml 2.12.8 (the one we're currently using), but it is deprecated in current libxml master. https://gitlab.gnome.org/GNOME/libxml2/-/commit/592546267fdde8ed57be99e168be...
Looks like you could call xmlSaveTree instead of xmlNodeDumpOutput, but that is a little more typing. Feel free to ask about it if you want a second opinion.