[Cuis-dev] YAXO and entity

Hilaire Fernandes hilaire at drgeo.eu
Sun Sep 26 01:37:05 PDT 2021


Hi,

I have this XML file generated with XMLParser on Pharo, and whose 
content string is read by XMLParser as:

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 ]! !


However, when read through Cuis' YAXO, the entities are not interpreted 
when examined in an inspector:

ent


Strangely when copied and pasted here, it is interpreted correctly (does 
not make sens to me...):

DrGeoUserScript subclass: #DrGeoScript126328658

     instanceVariableNames: ''''

     classVariableNames: ''''

     poolDictionaries: ''''

     category: ''DrGeo-Script-Items''!

!DrGeoScript126328658 commentStamp: ''<historical>'' prior: 0!

!

!DrGeoScript126328658 methodsFor: ''public'' stamp: ''HilaireFernandes 12/9/2014 15:28''!

compute

"Edit me"

     ^[:x | x cos ]! !

"-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


Anyway the result is this code does not compile because of the entities.

Am I missing something or does YAXO does not support entities?

Thanks

Hilaire

-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210926/0d06a4bf/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: entities.png
Type: image/png
Size: 32091 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210926/0d06a4bf/attachment-0001.png>


More information about the Cuis-dev mailing list