[xml] Re: xmlReplaceNode



Hi, All

perhaps, bug:

xmlReplaceNode(OLD, NEW) not call xmlSetTreeDoc(NEW, OLD->doc),
therefore xmlDocDumpFormatMemory return corrupted result
if node NEW belong to other doc. If NEW->doc == NULL,
all ok, but attribute value always translate to &#xNNN when
char in attribute value >= 0x80

xmlSetTreeDoc(NODE, DOC) don't work for inside nodes when NODE->DOC == DOC


-- 
С уважением,
 Dmitry                          mailto:dmitry_belous ua fm




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]