×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi David,

you can download powerEXT Core that has XML support that automatically does
the encoding of special characters

here is a demo:

http://89.239.242.111:6382/pextcgiCOR/demoxml.pgm

PS. it also works with HTTPAPI

On Mon, Jun 4, 2012 at 11:31 PM, David Baugh <davidb@xxxxxxxxxxxxxx> wrote:

Hello,



I have a data item on file that I'm inserting into an element before
posting it in a request. In this particular case, the data contains a '&'
which is causing server's parser to error out. I do have it wrapped in
<![CDATA[ ...]]>. Obviously I'm misunderstanding this, since I thought
occurrences of such would be accepted if inside this wrapper. Can anyone
explain why I'm getting a parser error on an '&' when it's inside the
wrapper?



Otherwise, am I correct in assuming that I'd need to search and replace
any occurrences of this with &amp; before assignment?



Thanks,



David
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2026 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.