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

_______________________________________________
dev mailing list
dev@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to