|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XML Parsing Error while parsing the message |
« View previous topic :: View next topic » |
Author |
Message
|
gaurav.udgir |
Posted: Mon Oct 18, 2010 7:46 am Post subject: XML Parsing Error while parsing the message |
|
|
Apprentice
Joined: 18 May 2009 Posts: 32
|
Hi All,
I am getting WTX Output which is a XML message [parsed as BLOB] but a value field has a special character:
The '¡' in the above is a special character which is coming from WTX maps. As per the mapping this is ascii equivalent of hex 'A1'.
When I am opening the same in the internet explorer using 'ISO-8859-1' it opens without exception. When I tried the same for parsing using 819 CCSID [for ISO-8859-1] and encoding 273, it is throwing exception 'XML Parsing Error occured'.
My requirement is to parse the xml message with the above field using XML parsers.
Am I missing something while parsing the message.
Please help.
Please revert if you need any further information.
Message Broker Version: 6.1.0.7
WTX: 8.2
Thank you in Advance.
Regards,
Gaurav |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Oct 18, 2010 9:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
IIRC hex A1 is not a valid xml char but the equivalent of "could not translate into target char code set so putting a replacement char of 0xA1"?
You might want to have your map output as UTF-8 and not ISO-8859-1.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
rekarm01 |
Posted: Mon Oct 18, 2010 1:18 pm Post subject: Re: XML Parsing Error while parsing the message |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
gaurav.udgir wrote: |
The '¡' in the above is a special character which is coming from WTX maps. As per the mapping this is ascii equivalent of hex 'A1'. |
This character is the inverted exclamation mark; it is a valid XML character.
gaurav.udgir wrote: |
I tried the same for parsing using 819 CCSID [for ISO-8859-1] and encoding 273, it is throwing exception 'XML Parsing Error occured'. |
What is the complete error message? Check the syslog, event viewer, or run a usertrace.
If the complete error message contains an excessively long BLOB, please add line breaks before posting, (or cut out the irrelevant bits). |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|