[Cuis-dev] YAXO and entity
Juan Vuletich
juan at jvuletich.org
Mon Sep 27 03:52:54 PDT 2021
On 9/26/2021 10:27 AM, Hilaire Fernandes via Cuis-dev wrote:
>
> Hi Nicolas,
>
> I can read most of DrGeo xml files, only xml entity like
> (carriage return I guess) and (tabulation) are not translated and
> kept as is when I read the file.
>
> Hilaire
>
> Le 26/09/2021 à 10:57, Nicola Mingotti a écrit :
>> i was parsing successfully a libreoffice file with YAXO.
> --
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu
It looks like the attached works. Test adding #withCuisLineEndings, so
that CR characters from Pharo are converted to LF:
| doc |
doc _ XMLDOMParser parseDocumentFrom: 'Curve and slope.fgeo'
asFileEntry readStream.
((doc elementAt: #drgenius) firstTagNamed: #code) contentString
withCuisLineEndings.
I don't know the XML spec in full detail, but it looks like the
conversions in the attach are needed. Anyone knows better?
Thanks,
--
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/20210927/7b17520e/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 4888-CuisCore-JuanVuletich-2021Sep26-20h54m-jmv.001.cs.st
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210927/7b17520e/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: UnsavedChangesTo-YAXO-jmv.001.cs.st
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210927/7b17520e/attachment-0001.ksh>
More information about the Cuis-dev
mailing list