|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MRM XML and encoding information |
« View previous topic :: View next topic » |
Author |
Message
|
Duke |
Posted: Wed Jan 26, 2005 5:19 am Post subject: MRM XML and encoding information |
|
|
 Apprentice
Joined: 09 Mar 2004 Posts: 49 Location: Belgium
|
Dear all,
I have created two MRM that have an XML physical representation.
I get one XML and I map it to another one.
The message that I received are unicode incoded and they have an XML prolog <?xml version="1.0" encoding="UTF-16" ?>.
The MQMD character set ID is set to 1200 (unicode).
After my mapping when the message is written down to the queue, the XML prolog is know: <?xml version="1.0" ?>, the encoding information is throw away.
The message is still unicode encoded as the CCSID of the MQSeries message tell it.
So my question isn't possible to tell to the broker to let this encoding prolog? _________________ Pierre Richelle
Engineer
IBM Certified MQSeries Developper V5.3
IBM Certified WMQ Administration V6 |
|
Back to top |
|
 |
shanson |
Posted: Wed Jan 26, 2005 5:28 am Post subject: |
|
|
 Partisan
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
|
Unfortunately you have a hit an MRM XML limitation - on output, the xml decl does not contain an encoding attribute, and there is no way to force it out.
It is intended to correct this in the next release.
For now, if you must have the encoding attribute, you could use a ResetContentDescriptor node to serialise the tree (which will use MRM XML as you are doing) and reparse as BLOB, then you can manually insert the encoding attribute using ESQL.
Or use XML or XMLNS domain. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 26, 2005 5:39 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
shanson wrote: |
It is intended to correct this in the next release. |
Is that FP5, or Version 6? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Duke |
Posted: Wed Jan 26, 2005 6:18 am Post subject: |
|
|
 Apprentice
Joined: 09 Mar 2004 Posts: 49 Location: Belgium
|
Thanks for your help ! _________________ Pierre Richelle
Engineer
IBM Certified MQSeries Developper V5.3
IBM Certified WMQ Administration V6 |
|
Back to top |
|
 |
shanson |
Posted: Wed Jan 26, 2005 6:56 am Post subject: |
|
|
 Partisan
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
|
A fix pack is not a release.  |
|
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
|
|
|
|