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



It might be your "xml declaration" tag that is causing the issue. Try using one of the following instead:

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>

HTH,
Aaron Bartell
http://mowyourlawn.com

Paul Nicolay wrote:
Hi,
The input string is composed as follows...
s = '<?xml version="1.0" encoding="ibm037"?>'
+ '<root><node>' + '<Object>' + '<![CDATA[This is <a> test.]]>' //+ 'This is a test.' + '</Object>' + '</node></root>'; I already tried/played with setting the CCSID values, but no luck so far.
If I comment the CDATA, and uncomment the normal text everything works fine.
Kind regards,
Paul

________________________________

Van: rpg400-l-bounces@xxxxxxxxxxxx namens Aaron Bartell
Verzonden: wo 3/12/2008 23:25
Aan: RPG programming on the IBM i / System i
Onderwerp: Re: XML Toolkit and CDATA elements



Could you post a sample of the XML so we can be sure the CDATA tag has
been coded correctly? Note you can't have multiple embedded CDATA tags
(in case that might be the issue).

Aaron Bartell
http://mowyourlawn.com <http://mowyourlawn.com/>




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.