<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="monospace">... I'd look for apos - quotes - amp - gt
- lt in sources and changes.<br>
... or directly in String instances and then in their references
... looking for compiled methods, blocks and so on.<br>
(a dirty reinvented wheels to run on a muddy road)</font></p>
<p><font face="monospace"> davide<br>
</font></p>
<div class="moz-cite-prefix">On 15/11/2020 19:52, gettimothy via
Squeak-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:175cd40272c.bf92279f67025.6327709424497651568@zoho.com">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div style="font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;">
<div>Hi Folks,<br>
</div>
<div><br>
</div>
<div>I am storing parsed content from XTreams parsing in the
XMLElement that Xtreams parsing uses....(could be different
from stock Squeak XML package per recent discussion here.)<br>
</div>
<div><br>
</div>
<div>The XMLElements escape certain characters: <a
href="https://www.ibm.com/support/knowledgecenter/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/rwlp_xml_escape.html"
target="_blank" moz-do-not-send="true">https://www.ibm.com/support/knowledgecenter/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/rwlp_xml_escape.html</a></div>
<div><br>
</div>
<div>To get my content to display properly on Chrome, I have to
unescape the escaped XML escaped characters.<br>
</div>
<div><br>
</div>
<div>I wrote a quick and dirty method to git-r-done....<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><span class="highlight" style="background-color:rgba(61,
60, 64, 0.1)"><span class="colour" style="color:rgb(61, 60,
64)"><span class="font" style="font-family:Menlo, Monaco,
Consolas, "Courier New", monospace"><span class="size" style="font-size: 12.15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; float: none;">unEscapeXMLEscapeCharaters: aString
|xmls|
xmls := aString copyReplaceAll:'>' with:'>' asTokens:false.
xmls := xmls copyReplaceAll:'<' with:'<' asTokens:false.
xmls := xmls copyReplaceAll:'"e;' with:'"' asTokens:false.
xmls := xmls copyReplaceAll:''' with:'''' asTokens:false.
xmls := xmls copyReplaceAll:'&' with:'&' asTokens:false.
^xmls</span></span></span></span><br>
</div>
<div><br>
</div>
<div><span class="highlight" style="background-color:rgba(61,
60, 64, 0.1)"><span class="colour" style="color:rgb(61, 60,
64)"><span class="font" style="font-family:Menlo, Monaco,
Consolas, "Courier New", monospace"><span class="size" style="font-size: 12.15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; float: none;">However, I have a nagging suspicion I have re-invented the wheel; although I did spend significant time hunting for one.</span></span></span></span><br>
</div>
<div><br>
</div>
<div>If anything obvious jumps out, please respond.<br>
</div>
<div><br>
</div>
<div>thx.</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Ing. Davide Grandi
email : <a class="moz-txt-link-abbreviated" href="mailto:davide.grandi@email.it">davide.grandi@email.it</a>
linkedin : <a class="moz-txt-link-freetext" href="http://linkedin.com/in/davidegrandi">http://linkedin.com/in/davidegrandi</a></pre>
</body>
</html>