[GemStone-Smalltalk] XML Parser Class/Classes in Gs?

Dale Henrichs dale.henrichs at gemtalksystems.com
Sun May 7 13:21:52 PDT 2023


Greg and Christian, I converted the filetree source code in
XML-XMLParser[1] to topaz (.gs format) and noticed that the project was
dependent upon 3 other projects: BitmapCharacterSet[2],
OrderPreservingDictionary[3], and XML-XMLWriter[4], so I converted the
filetree source code for those projects as well, then copied the generated
.gs files into the XML-XMLParser project gemstone directory[5] along with
an install.tpz file.

Then I took a 3.6.5 extent0.dbf and ran the install script and amazingly
the files all loaded okay until I got an MNU while running  the class
initializers for XML-XMLParser (the last file):

> ERROR 2010 , a MessageNotUnderstood occurred (error 2010), a
> XMLAbstractFactory class does not understand  #'allSubclassesDo:'
>
The fact that all of the class definitions and methods loaded without error
implies that there are no dependencies on the GLASS/GsDevKit class library,
which should greatly simplify the porting effort.

Bruno Buzzi[6] did the original port of XML-XMLParser and friends about 3
years ago ... with a little bit of help from me (converting the tonel
source to filetree) and it seems that he was able to avoid leaning heavily
on any Pharo/GsDevKit compatible classes ...

I also want to note that I updated the CI code for the XML-XMLParser
project and that the unit tests run clean against a GLASS/GsDevKit
extent[7]. The CI test are run against 3.5.3, 3.5.8, 3.6.0 and 3.6.5 and at
this point there is no conditional code involved.

Let me know if you guys have any questions,

Dale

[1] https://github.com/GsDevKit/XML-XMLParser
[2] https://github.com/GsDevKit/BitmapCharacterSet
[3] https://github.com/GsDevKit/OrderPreservingDictionary
[4] https://github.com/GsDevKit/XML-XMLWriter
[5] https://github.com/GsDevKit/XML-XMLParser/tree/gemstone/gemstone
[6] https://github.com/brunobuzzi
[7] https://github.com/GsDevKit/XML-XMLParser/actions/runs/4908998434

On Sat, May 6, 2023 at 2:11 AM Christian Haider <mail at christianhaider.de>
wrote:

> Hi Dale,
>
>
>
> I’d like to have that too J
>
>
>
> Happy hacking,
>
> Christian
>
>
>
>
>
> *Von:* GemStone-Smalltalk <
> gemstone-smalltalk-bounces at lists.gemtalksystems.com> *Im Auftrag von *Dale
> Henrichs via GemStone-Smalltalk
> *Gesendet:* Freitag, 5. Mai 2023 23:17
> *An:* Greg Spehar <spehargreg at gmail.com>
> *Cc:* gemstone-smalltalk at lists.gemtalksystems.com
> *Betreff:* Re: [GemStone-Smalltalk] XML Parser Class/Classes in Gs?
>
>
>
> I don't have the time to look into it :), but I do have the time to
> produce the .gs file that will allow you to look into it ...
>
>
>
> Let me know, and I should be able to get to it by Monday...
>
>
>
> Dale
>
>
>
>
>
> On Fri, May 5, 2023 at 1:21 PM Greg Spehar <spehargreg at gmail.com> wrote:
>
> Dale,
>
>
>
> Yes, I would love to take this route.
>
> Would you like me to take a shot at it or is it something you might be
> able to look into?
>
> (If you do, I will go hunt down that $1 Billion Powerball ticket and send
> it to you… if I find it of course.)
>
>
>
> Regards,
>
> *Greg Spehar, MBA, PMP, ACP, DASM*
>
> *Senior Program Manager*
>
>
> -------------------------------------------------------------------------------------------------------
>
> *P:* 503.332.3663
>
> *E:  *spehargreg at gmail.com
>
> *W: *http://www.linkedin.com/in/spehargreg
> <http://www.linkedin.com/in/spehar>
>
> *T:* @spehargreg
>
> *C:* https://calendly.com/spehargreg/30-minute-meeting-connect
>
>
>
> On May 5, 2023, at 3:15 PM, Dale Henrichs <
> dale.henrichs at gemtalksystems.com> wrote:
>
>
>
> Greg,
>
>
>
> I don't believe that there are any XML parsers in the base system,
> however, there is a port of the Pharo XML-XMPParser[1] to the
> GLASS/GsDevKit environment that was done a couple of years ago. The
> GLASS/GsDevKit environment has a fair amount of Pharo compatibility code
> built in, so it is hard to estimate how much work would be required to port
> that to the base image ... but it would probably be a good place to start
> ...
>
>
>
> The source is in filetree format, but it would be relatively
> straightforward to convert the filetree format packages into a single .gs
> file that could be loaded into the base ... let me know if you'd like to
> take that route ...
>
>
>
> Dale
>
>
>
> [1] https://github.com/GsDevKit/XML-XMLParser
>
>
>
> On Fri, May 5, 2023 at 12:57 PM Greg Spehar via GemStone-Smalltalk <
> gemstone-smalltalk at lists.gemtalksystems.com> wrote:
>
> All,
>
>
>
> Does anyone have access to a Gs XML parser? I am looking to use XML in the
> system I am designing…
>
> (Or maybe I missed it in the image… yes I did look..)
>
>
>
> Thanks,
>
> *Greg Spehar, MBA, PMP, ACP, DASM*
>
> *Senior Program Manager*
>
>
> -------------------------------------------------------------------------------------------------------
>
> *P:* 503.332.3663
>
> *E:  *spehargreg at gmail.com
>
> *W: *http://www.linkedin.com/in/spehargreg
> <http://www.linkedin.com/in/spehar>
>
> *T:* @spehargreg
>
> *C:* https://calendly.com/spehargreg/30-minute-meeting-connect
>
>
>
> _______________________________________________
> GemStone-Smalltalk mailing list
> GemStone-Smalltalk at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/gemstone-smalltalk/attachments/20230507/bfd782f6/attachment.htm>


More information about the GemStone-Smalltalk mailing list