ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML Parsing Error while parsing the message

Post new topic  Reply to topic
 XML Parsing Error while parsing the message « View previous topic :: View next topic » 
Author Message
gaurav.udgir
PostPosted: Mon Oct 18, 2010 7:46 am    Post subject: XML Parsing Error while parsing the message Reply with quote

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:

Quote:
{0:2100¡01¡N


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
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 18, 2010 9:43 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
rekarm01
PostPosted: Mon Oct 18, 2010 1:18 pm    Post subject: Re: XML Parsing Error while parsing the message Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML Parsing Error while parsing the message
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.