[Scilab-Dev] Unexpected implicit calls to %XMLDoc_clear()
Samuel Gougeon
sgougeon at free.fr
Fri Dec 17 03:00:34 CET 2021
Hello,
After defining
function %XMLDoc_clear(doc)
disp("hello"); // xmlDelete(doc)
endfunction
doc = xmlRead("SCIHOME/XConfiguration.xml");
yields
--> doc = xmlRead("SCIHOME/XConfiguration.xml");
"hello"
Actually, i then get a lot of "implicit" calls to %XMLDoc_clear(). Where
do they come from??
In the above case,
* we in no way explicitly call clear doc;
* we do not leave the environment where doc has been defined...
So, the usage of this feature introduced in 6.1.0 looks unclear
(sorry...) to me.
Any clarifications?
BR
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20211217/774cca6c/attachment.htm>
More information about the dev
mailing list