<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Hilaire,<br>
<br>
Please attach a zip file containing the XML file that causes the
problem. Don't attach it directly, but in a zip file, so we are
certain that the contents are not modified in any way.<br>
<br>
Also include the snippet you ran in Cuis that fails.<br>
<br>
This way, I can reproduce exactly what you are doing, see and debug
the exact situation you experience.<br>
<br>
Thanks,<br>
<br>
On 9/26/2021 5:37 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:bddc2195-e156-62ad-c6c4-8b60477bca50@drgeo.eu"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p><font size="+1">Hi, <br>
</font></p>
<p><font size="+1">I have this XML file generated with XMLParser
on Pharo, and whose content string is read by XMLParser as:</font></p>
<pre><font size="+1">DrGeoUserScript subclass: #DrGeoScript126328658
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'DrGeoII-User'!
!DrGeoScript126328658 commentStamp: '<historical>' prior: 0!
!
!DrGeoScript126328658 methodsFor: 'public' stamp: 'HilaireFernandes 12/9/2014 15:28'!
compute
"Edit me"
^[:x | x cos ]! !
</font></pre>
<p><font size="+1"><br>
</font></p>
<p><font size="+1">However, when read through Cuis' YAXO, the
entities are not interpreted when examined in an inspector:</font></p>
<img moz-do-not-send="false"
src="cid:part1.00070403.03040603@jvuletich.org" alt="ent"
height="254" width="427">
<p><br>
</p>
<p>Strangely when copied and pasted here, it is interpreted
correctly (does not make sens to me...):</p>
<pre>DrGeoUserScript subclass: #DrGeoScript126328658</pre>
<pre> instanceVariableNames: ''''</pre>
<pre> classVariableNames: ''''</pre>
<pre> poolDictionaries: ''''</pre>
<pre> category: ''DrGeo-Script-Items''!</pre>
<pre>!DrGeoScript126328658 commentStamp: ''<historical>'' prior: 0!</pre>
<pre>!</pre>
<pre>!DrGeoScript126328658 methodsFor: ''public'' stamp: ''HilaireFernandes 12/9/2014 15:28''!</pre>
<pre>compute</pre>
<pre>"Edit me"</pre>
<pre> ^[:x | x cos ]! !</pre>
<pre>"-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
</pre>
<p><br>
</p>
<p>Anyway the result is this code does not compile because of the
entities. <br>
</p>
<p>Am I missing something or does YAXO does not support entities?<br>
</p>
<p>Thanks</p>
<p>Hilaire<br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</body>
</html>