|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message Conversion |
« View previous topic :: View next topic » |
Author |
Message
|
Jenney |
Posted: Tue Oct 02, 2007 12:36 pm Post subject: Message Conversion |
|
|
Voyager
Joined: 25 Apr 2007 Posts: 83 Location: Melbourne
|
We have Brk V6, Toolkit V6.
We have a message flow which converts CWF data to XML data, both the message structures are in MRM.
Broker is converting some time the data ampersand (&), less than (<), greater than (>), double quote ("), and apostrophe (') to XML entities &, <, >, ", and ' and some time it doesn't.
How to handle this inconsitence?
Thanks in advance.
J |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Oct 02, 2007 3:23 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Any inconsistency here is only percieved.
This is normal behavior for an xml structured string within an xml element.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Jenney |
Posted: Wed Oct 03, 2007 4:10 am Post subject: |
|
|
Voyager
Joined: 25 Apr 2007 Posts: 83 Location: Melbourne
|
Then how to handle it? if it is consistent then we can build some logic in the receiving application, but if not then we won't be able to build any thing  |
|
Back to top |
|
 |
Jenney |
Posted: Wed Oct 03, 2007 5:32 am Post subject: |
|
|
Voyager
Joined: 25 Apr 2007 Posts: 83 Location: Melbourne
|
One more thing i noticed in my messages,
Broker is not converting ' and " (single & double inverted comma) but Broker is converting &, < and > characters,
any explaination to that?
Thanks |
|
Back to top |
|
 |
kimbert |
Posted: Thu Oct 04, 2007 11:48 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
The XML character entities are not changing your data. They are just an alternative way of writing down the same information. Once the receiving XML parser has done its job, the entities will be replaced by the real characters.
So...not sure why this is a problem |
|
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
|
|
|
|