Problems with Expat in RPGLE

2590 pts.
Tags:
AS/400
IBM iSeries
RPGLE
XML
Posted on behalf of MelissaG: I have an RPGLE program that receives an XML character string generated using CGIDEV2, and it is supposed to parse this XML in order to print those values in a spool file. My problem is that the RPGLE program that parses the XML sends an error message like 'Parse error at line(x): invalid token'. The XML Structure is fine, so I think the problem relates to the size of the XML (it could be as long as 11000 characters). Is there any limitation related to the maximum size EXPAT can process? Can anyone help me, please? Thanks in advance,

Answer Wiki

Thanks. We'll let you know when a new response is added.

I don’t think so.

Scott Klement has links to several of his articles on his web site on how to use expat in an RPG program. It may be that you can find your answer there.

You can find them at:

http://www.scottklement.com/expat/

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    An 11k XML document isn't very large. Size shouldn't be a problem. More detail is needed. What OS version? Is this in-house RPG or a downloaded utility? Has it been used successfully much in the past? -- Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following