[xml] xmlReplaceNode does not merge adjacent text nodes
- From: Mike Dalessio <mike dalessio gmail com>
- To: xml <xml gnome org>
- Subject: [xml] xmlReplaceNode does not merge adjacent text nodes
- Date: Tue, 13 Apr 2010 00:13:25 -0400
I've created an open issue at
https://bugzilla.gnome.org/show_bug.cgi?id=615612As I understand, the convention is for libxml2 to merge adjacent text nodes whenever possible, and every method that I'm aware of to reparent / insert nodes does this correctly, with the exception of xmlReplaceNode.
I've posted example code demonstrating this issue at
http://gist.github.com/364297I'm pretty sure this isn't intended behavior, but if it is, could someone provide a short explanation?
Thanks very much for your time.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]