× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Charles,

I use Scotts port of the Expat parser to parse XML documents, and then mainly the included HTTP streamfile parse procedures out of the HTTPAPI from Scott.

I am using the included xml api from IBM to validate against any XSD specified, and can provide you with the code to specify where and which XSD to use.

It is used to precheck xml documents we need to parse, and also verify our own generated XML files, and we call the validator directly from out RPG programs..

Kind regards,

Loek Maartens.




----- Original Message -----
From: "Charles Wilt" <charles.wilt-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>
Newsgroups: gmane.comp.hardware.ibm.midrange
To: "Midrange Systems Technical Discussion" <midrange-l-Zwy7GipZuJhWk0Htik3J/w@xxxxxxxxxxxxxxxx>; "HTTPAPI and FTPAPI Projects" <ftpapi-rGrgPyRx506yJKoIg1G1sryuOJWzk3PP@xxxxxxxxxxxxxxxx>
Sent: Wednesday, October 21, 2009 9:39 PM
Subject: Processing a received XML document - support for XSD?


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
--

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.