[prev in list] [next in list] [prev in thread] [next in thread]
List: scilab-dev
Subject: [Scilab-Dev] Display of invalid XMLDoc identifier changed in Scilab 6
From: Samuel Gougeon <sgougeon () free ! fr>
Date: 2018-07-28 15:00:45
Message-ID: 388d3ecd-989c-4d6d-182c-890977c6c268 () free ! fr
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
[Attachment #5 (text/html)]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
In Scilab 5.5, after<br>
<font size="-1"><tt>-->doc = xmlReadStr("<root><a
att=""foo""
rib=""bar""><b>Hello</b></a></root>");</tt><tt><br>
</tt><tt>-->xmlDelete(doc)</tt><tt><br>
</tt></font><br>
we had<br>
<br>
<font size="-1"><tt>-->doc</tt><tt><br>
</tt><tt> doc = </tt><tt><br>
</tt><tt> !--error 999 </tt><tt><br>
</tt><tt>%XMLDoc_p: XML object does not exist.</tt></font><br>
<br>
while in Scilab 6.0.1 we have now:<br>
<br>
<font size="-1"><tt>--> doc</tt><tt><br>
</tt><tt> doc = </tt><tt><br>
</tt></font><br>
Is this change intentional?<br>
Yielding an error while displaying the invalid object was rather
questionable.<br>
So, IMHO removing the error is rather nice.<br>
However, the new display looks a bit suspect... Doesn't it?<br>
<br>
Cheers<br>
Samuel<br>
<br>
</body>
</html>
_______________________________________________
dev mailing list
dev@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic