Source: denemo Followup-For: Bug #1106646 X-Debbugs-Cc: [email protected]
After significant instrumentation of libxml2 v2.13.1 and building denemo using it the cause of the underlying problem appears to be a regression in libxml2 v2.13.0+ in tree.c::xmlNodeListGetstringInternal() that ignores child elements - it only includes text, CDATA, and entity references. Since this is called as part of loading a file via src/core/importxml.c this explains why on exporting the resulting XML is different. I've reported the detailed debugging in the upstream denemo bug at https://savannah.gnu.org/bugs/index.php?67508 and leave it to upstream to take this up with libxml2 developers.

