|
Hi Thomas,
The XML toolkit from IBM is provided free of cost.
The ionly problem is understanding the examples provided by IBM, they are
worth ... (not a lot).
Kind regards,
Loek.
----- Original Message -----
From: "Thomas Raddatz" <thomas.raddatz@xxxxxxxxxxx>
To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, October 21, 2009 10:07 PM
Subject: Re: Processing a received XML document - support for XSD?
Charles,
In case no one else contributes a better idea you may consider to use a
little Java application to
validate your xml file. "AppServer4RPG" might be a good starting point as
it demonstrates how to talk
to Java from RPG efficiently.
You can get it here:
http://www.bender-dv.de/ (German page hosted by Dieter Bender)
On the main page click on "AppServer4RPG" and download the zip file. The
zip file contains an English
"Howto.html" which explains how to set up the server.
For example you could pass the path name of your XML file to a little Java
application that validtaed
the XML file and returns the result back to the RPG application.
Another option you have is to install the "XML Toolkit for IBM System i5"
(5733-XT2) and use the
included parsers (SAX and DOM parser). For sure that should cost some
money and is not easy to use
because of lots of pointer stuff. Just my two cents.
Regards,
Thomas.
Charles Wilt schrieb:
All,-----------------------------------------------------------------------
I'm going to be receiving an XML document that I'll need to process.
I had originally intended to make use of Scott port of Expat to parse
the document.
However, apparently Expat doesn't support validating the document
against an XML Schema Document (XSD). Given that we're creating the
XSD, and a third party is supposed to be following it, having the XML
processor validate against the XSD instead of doing my own validation
in RPG would seem like a useful feature.
Is there anything on the i that I can use to validate and process the
XML?
Thanks,
Charles Wilt
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.