The "expat" XML parser (http://expat.sourceforge.net/) compiles without
changes on MPE/iX. That's as far as I've gotten. I've written XML output
from COBOL but haven't yet had the need to parse it, so I haven't worked on
it.
Xerces is a validating parser, whereas expat is not, so expat might not be
sufficient for your purposes. However building a COBOL interface to expat
would be straightforward, and I'm not sure the same can be said for Xerces.
I'd be happy to help on COBOL-to-C interfacing, especially if you're willing
to share code.
If you have questions about XML, DTDs, external entities, and why you might
need a validating parser...I'm not the right person to ask.
Ken Hirsch
----- Original Message -----
From: "Dave" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, May 30, 2001 8:46 PM
Subject: XML parsers in COBOL
> There's been discussions about the Xerces XML parser a few times over the
> past
> year. I'm trying to set up an XML parser which can be called from COBOL,
and
> the obvious way to do it seems to be to set up the C++ version of the
Xerces
> parser and then call that from COBOL. I'm no C++ expert though and have no
> idea how to go about porting Xerces to MPE.
>
> Is anyone out there who's called Xerces from COBOL? Or anyone who'd be
able
> to
> provide me with a ported version of Xerces? Or is there a COBOL XML parser
> in
> existence which I could port over?
>
> Dave.
>
> ------------------------------------------------------------
> Get your FREE web-based e-mail and newsgroup access at:
> http://MailAndNews.com
>
> Create a new mailbox, or access your existing IMAP4 or
> POP3 mailbox from anywhere with just a web browser.
> ------------------------------------------------------------
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|