[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Processing a received XML document - support for XSD?
Loek,
Thank you very much for the clarification. I did not know that the toolkit is free of charge. However
I know about the problems using the toolkit because we use it for years and we had to write our own
wrapper to make it usable.
So I would give the "AppServer4RPG" a try.
Regards,
Thomas.
Loek Maartens schrieb:
> 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
> -----------------------------------------------------------------------
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------