[Scilab-Dev] Display of invalid XMLDoc identifier changed in Scilab 6

Samuel Gougeon sgougeon at free.fr
Sat Jul 28 17:00:45 CEST 2018


Hi,

In Scilab 5.5, after
-->doc = xmlReadStr("<root><a att=""foo"" 
rib=""bar""><b>Hello</b></a></root>");
-->xmlDelete(doc)

we had

-->doc
  doc  =
   !--error 999
%XMLDoc_p: XML object does not exist.

while in Scilab 6.0.1 we have now:

--> doc
  doc  =

Is this change intentional?
Yielding an error while displaying the invalid object was rather 
questionable.
So, IMHO removing the error is rather nice.
However, the new display looks a bit suspect... Doesn't it?

Cheers
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20180728/fce94cb4/attachment.htm>


More information about the dev mailing list