On Wed, Oct 25, 2006 at 11:33:39AM +0200, Keim, Markus wrote: > So, the question: Am I simply wrong in using these calls, > or is it really an issue within libxml2?
Well I think you're wrong in your expectation that both calls will work the same way. xmlNodeAddContent really just does a concatenation at the string level as its documenation implies "Append the extra substring to the node content." while xmlNodeSetContent is more complex trying to process embbeded entities references. Trying to change their behaviour sounds dangerous to me. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
