From sgougeon at free.fr Fri Dec 17 03:00:34 2021 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 17 Dec 2021 03:00:34 +0100 Subject: [Scilab-Dev] Unexpected implicit calls to %XMLDoc_clear() Message-ID: <0f8f4921-1de3-8ab4-1600-0ffcfe1329d6@free.fr> 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: