[Cuis-dev] YAXO and entity

Juan Vuletich juan at jvuletich.org
Sun Sep 26 08:18:58 PDT 2021


Hi Hilaire,

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.

Also include the snippet you ran in Cuis that fails.

This way, I can reproduce exactly what you are doing, see and debug the 
exact situation you experience.

Thanks,

On 9/26/2021 5:37 AM, Hilaire Fernandes via Cuis-dev wrote:
>
> 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


-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

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


More information about the Cuis-dev mailing list