Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

REXX XML Parser

230 views
Skip to first unread message

regli

unread,
Aug 14, 2009, 11:33:49 AM8/14/09
to
I'm looking for a solid REXX XML parser. What is the best code out
there?

I came across this:

http://joshi-bloggt.blogspot.com/2008/10/small-and-simple-xml-parser-in-rexx.html

LesK

unread,
Aug 14, 2009, 11:11:15 PM8/14/09
to
You might want to try this for Regina Rexx:

http://home.interlog.com/~ptjm/

If you're a member of RexxLA ( http://rexxla.org ) there
was a discussion on the subject almost 3 years ago and a
member has developed one. It was supposed to wind up in
ooRexx but I haven't checked to see it's status. Try
looking on SourceForge under 'oorexx'.

Les (Change Arabic to Roman to email me)

regli

unread,
Aug 15, 2009, 12:29:03 AM8/15/09
to
On Aug 14, 8:11 pm, LesK <5mr...@tampabay.rr.com> wrote:
> You might want to try this for Regina Rexx:
>
> http://home.interlog.com/~ptjm/
>
> If you're a member of RexxLA (http://rexxla.org) there

> was a discussion on the subject almost 3 years ago and a
> member has developed one. It was supposed to wind up in
> ooRexx but I haven't checked to see it's status. Try
> looking on SourceForge under 'oorexx'.
>
> Les               (Change Arabic to Roman to email me)
...

Thanks very much, Les.

I am hoping to find something that can be used both by ooRexx and in
std Rexx or, in fact, BREXX on the mainframe.

The more standard its implementation the better. However, I'm also
interested in a comprehensive implementation on ooRexx paired with
something more limited for std Rexx.

rony

unread,
Aug 15, 2009, 6:00:57 AM8/15/09
to
Hi Raetus,

regli wrote:
> On Aug 14, 8:11 pm, LesK <5mr...@tampabay.rr.com> wrote:
>> You might want to try this for Regina Rexx:
>>
>> http://home.interlog.com/~ptjm/
>>
>> If you're a member of RexxLA (http://rexxla.org) there
>> was a discussion on the subject almost 3 years ago and a
>> member has developed one. It was supposed to wind up in
>> ooRexx but I haven't checked to see it's status. Try
>> looking on SourceForge under 'oorexx'.
>>
>> Les (Change Arabic to Roman to email me)
> ...
>
> Thanks very much, Les.
>
> I am hoping to find something that can be used both by ooRexx and in
> std Rexx or, in fact, BREXX on the mainframe.

Unfortunately, I am not aware of a classic Rexx implementation that could therefore be used for BREXX.

However, for the upcoming ooRexx 4.0 there is a mainframe (Linux based) version planned, which you
might be able to use on the mainframe.


> The more standard its implementation the better. However, I'm also
> interested in a comprehensive implementation on ooRexx paired with
> something more limited for std Rexx.

For ooRexx there is a SAX-like parser, cf.
<http://oorexx.svn.sourceforge.net/viewvc/oorexx/incubator/orxutils/xml/xmlparser.cls?view=markup>.
If you go to the parent's folder at
<http://oorexx.svn.sourceforge.net/viewvc/oorexx/incubator/orxutils/xml/> and look for the author id
"wdashley", you'll find some examples of how to take advantage of xmlparser.cls. [That directory
also contains the preliminary work for a DOM-parser implemented in ooRexx, which is not ready yet,
author id "bigrixx".]

---

Finally, once ("real soon now") ooRexx 4.0 goes GA, a new version of BSF4Rexx (probably dubbed 4.0)
is planned to be released which takes advantage of the ooRexx 4.0 new APIs (it will be fully
backwardly compatible), as reported at this year's International Rexx Symposium at Hursley. That
version of BSF4Rexx will allow you - among other things - to exploit Java's SAX and DOM framework,
which is realized via Java interface classes, by allowing one to implement the abstract methods in Rexx.

HTH,

---rony

regli

unread,
Aug 15, 2009, 11:59:28 AM8/15/09
to
On Aug 15, 3:00 am, rony <Rony.Flatsc...@wu-wien.ac.at> wrote:
> Hi Raetus,
>
>
>
> regli wrote:
> > On Aug 14, 8:11 pm, LesK <5mr...@tampabay.rr.com> wrote:
> >> You might want to try this for Regina Rexx:
>
> >>http://home.interlog.com/~ptjm/
>
> >> If you're a member of RexxLA (http://rexxla.org) there
> >> was a discussion on the subject almost 3 years ago and a
> >> member has developed one. It was supposed to wind up in
> >> ooRexx but I haven't checked to see it's status. Try
> >> looking on SourceForge under 'oorexx'.
>
> >> Les               (Change Arabic to Roman to email me)
> > ...
>
> > Thanks very much, Les.
>
> > I am hoping to find something that can be used both by ooRexx and in
> > std Rexx or, in fact, BREXX on the mainframe.
>
> Unfortunately, I am not aware of a classic Rexx implementation that could therefore be used for BREXX.
>
> However, for the upcoming ooRexx 4.0 there is a mainframe (Linux based) version planned, which you
> might be able to use on the mainframe.
>
> > The more standard its implementation the better.  However, I'm also
> > interested in a comprehensive implementation on ooRexx paired with
> > something more limited for std Rexx.
>
> For ooRexx there is a SAX-like parser, cf.
> <http://oorexx.svn.sourceforge.net/viewvc/oorexx/incubator/orxutils/xm...>.

> If you go to the parent's folder at
> <http://oorexx.svn.sourceforge.net/viewvc/oorexx/incubator/orxutils/xml/> and look for the author id
> "wdashley", you'll find some examples of how to take advantage of xmlparser.cls. [That directory
> also contains the preliminary work for a DOM-parser implemented in ooRexx, which is not ready yet,
> author id "bigrixx".]
>
> ---
>
> Finally, once ("real soon now") ooRexx 4.0 goes GA, a new version of BSF4Rexx (probably dubbed 4.0)
> is planned to be released which takes advantage of the ooRexx 4.0 new APIs (it will be fully
> backwardly compatible), as reported at this year's International Rexx Symposium at Hursley. That
> version of BSF4Rexx will allow you - among other things - to exploit Java's SAX and DOM framework,
> which is realized via Java interface classes, by allowing one to implement the abstract methods in Rexx.
>
> HTH,
>
> ---rony

Thanks a lot rony, as usual!

I did find another implementation for the mainframe on CBT, i.e.
CBT647. I am hesitant to even investigate it closely (though it looks
promising) at this time because of the incompatibility of its license
(GNU V2 vs. BSD modified). Unfortunately the mainframe implementation
I need has to run on MVS/z/OS as well.

David Ashley's implementation looks excellent from afar. I'll
definitely play with it.

I am always looking at BSF4Rexx and have used it several times by
now. However, I'll stick with ooRexx version 3.2 for everything I do
until an IDE or, at the very least, a source level debugger is
available. I might use 4.0 for final deployment but not for
development.

Thanks again!

0 new messages