* Corrected problem with namespace context cache, was not always cleared when adding new subtrees.
This commit is contained in:
parent
aa14f8ac2c
commit
bb2eaa3cc7
4 changed files with 25 additions and 0 deletions
|
|
@ -710,6 +710,9 @@ xml_insert(cxobj *xp,
|
|||
if (xml_child_insert_pos(xp, xi, i) < 0)
|
||||
goto done;
|
||||
xml_parent_set(xi, xp);
|
||||
/* clear namespace context cache of child */
|
||||
nscache_clear(xi);
|
||||
|
||||
retval = 0;
|
||||
done:
|
||||
return retval;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue