RE: [xml] should xmlAddChild update the properties doc ptr?
- From: "Vakoc, Mark" <Mark_Vakoc jdedwards com>
- To: "'veillard redhat com'" <veillard redhat com>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: RE: [xml] should xmlAddChild update the properties doc ptr?
- Date: Tue, 17 Jul 2001 10:24:19 -0600
On Tue, Jul 03, 2001 at 10:25:41AM -0600, Vakoc, Mark wrote:
When moving nodes from one document to another using first
xmlUnlinkNode()
then xmlAddChild() to a different document, the node added
to the target
document does not update the properties' doc ptr.
xmlAddChild() calls
xmlSetTree() which correctly modifes all the child nodes to
have the correct
doc ptr, but all the attributes (properties) are not updated.
Right, good catch.
I just added this in the xmlSetTreeDoc() could you check the enclosed
patch ?
Sorry for the late reply, this seems to have resolved the issue.
Thanks!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]