225 pts.
 Problems with Expat in RPGLE
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,

Software/Hardware used:
ASKED: August 20, 2007  2:46 PM
UPDATED: November 8, 2012  4:42 PM

Answer Wiki:
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/
Last Wiki Answer Submitted:  November 8, 2012  4:42 pm  by  Michael Tidmarsh   11,410 pts.
All Answer Wiki Contributors:  Michael Tidmarsh   11,410 pts. , Teandy   5,830 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 108,260 pts.