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 » Wrong way of parsing message...in MRM domain

Post new topic  Reply to topic
 Wrong way of parsing message...in MRM domain « View previous topic :: View next topic » 
Author Message
vgollakota
PostPosted: Fri Oct 05, 2007 1:02 am    Post subject: Wrong way of parsing message...in MRM domain Reply with quote

Apprentice

Joined: 19 Feb 2007
Posts: 37

I m working with JText Adapters , I need to pick a xml file from a certain source , modify it and place it in certain destination, but the way the xml file is being parsed and got as output is for example if we have <bank>YZYZ</bank> it comes to adapter as &lt;bank&gt YZYZ &lt;/bank&gt......

this is the situation, why is it happening this way,Is it the way the message being parsed in MRM domain thats creating problem...


Could anyone resolve this , immediately...!


Thanks in advance....
_________________
G.VANDANA
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Oct 05, 2007 1:11 am    Post subject: Re: Wrong way of parsing message...in MRM domain Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

vgollakota wrote:
for example if we have <bank>YZYZ</bank> it comes to adapter as &lt;bank&gt YZYZ &lt;/bank&gt......


Those are actually equivalent, and probably the result of XML imbedded in another XML document.

Both should resolve to a tag called "bank" with a value of YZYZ
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sarat
PostPosted: Fri Oct 05, 2007 1:56 am    Post subject: Reply with quote

Centurion

Joined: 29 Jun 2005
Posts: 136
Location: India

which datahanlder you are using??

Custom or xml datahandler??
_________________
With Regards,
Sarat.
Back to top
View user's profile Send private message
vgollakota
PostPosted: Fri Oct 05, 2007 2:14 am    Post subject: Reply with quote

Apprentice

Joined: 19 Feb 2007
Posts: 37

sarat wrote:
which datahanlder you are using??

Custom or xml datahandler??



I am using passthrough datahandler.
_________________
G.VANDANA
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Oct 05, 2007 2:58 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I need to pick a xml file from a certain source , modify it and place it in certain destination, but the way the xml file is being parsed and got as output is for example if we have <bank>YZYZ</bank> it comes to adapter as &lt;bank&gt YZYZ &lt;/bank&gt......
Speak to the department which generates the source, and ask them to supply well-formed XML. If they cannot do that, you may be in trouble - in general it will not be safe to just replace &lt; with < and &gt; with > ( because some of those character entities may have been in the original, unmodified XML message, and the XML may not be well-formed if you expand them )
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 » Wrong way of parsing message...in MRM domain
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.