* Corrected problem with namespace context cache, was not always cleared when adding new subtrees.

This commit is contained in:
Olof hagsand 2019-08-08 11:29:01 +02:00
parent aa14f8ac2c
commit bb2eaa3cc7
4 changed files with 25 additions and 0 deletions

View file

@ -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;