|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Wrong way of parsing message...in MRM domain |
« View previous topic :: View next topic » |
Author |
Message
|
vgollakota |
Posted: Fri Oct 05, 2007 1:02 am Post subject: Wrong way of parsing message...in MRM domain |
|
|
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 <bank> YZYZ </bank>......
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 |
|
 |
Vitor |
Posted: Fri Oct 05, 2007 1:11 am Post subject: Re: Wrong way of parsing message...in MRM domain |
|
|
 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 <bank> YZYZ </bank>......
|
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 |
|
 |
sarat |
Posted: Fri Oct 05, 2007 1:56 am Post subject: |
|
|
 Centurion
Joined: 29 Jun 2005 Posts: 136 Location: India
|
which datahanlder you are using??
Custom or xml datahandler?? _________________ With Regards,
Sarat. |
|
Back to top |
|
 |
vgollakota |
Posted: Fri Oct 05, 2007 2:14 am Post subject: |
|
|
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 |
|
 |
kimbert |
Posted: Fri Oct 05, 2007 2:58 am Post subject: |
|
|
 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 <bank> YZYZ </bank>...... |
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 < with < and > 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 |
|
 |
|
|
 |
|
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
|
|
|
|