There are 3 (') characters in the message. So XML parser of cobol thinks that the second (') caharcter ends the string and so I face exception errors. Is there any way to fix this error without changing the message?
There are 3 (') characters in the message. So XML parser of cobol thinks that the second (') caharcter ends the string and so I face exception errors. Is there any way to fix this error without changing the message?
Thanks
you can try using double quotes (") like
<message>My_Message="Tom's house."</message>
amol, most shops do not have the luxury of dictating xml format. Multiple single quotes can be handled. Actually, there is little that is not allowed for a value.
as steve said, the op needs to provide the parse code (and data definitions). the op's code is doing something incorrectly.