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 » MRM XML and encoding information

Post new topic  Reply to topic
 MRM XML and encoding information « View previous topic :: View next topic » 
Author Message
Duke
PostPosted: Wed Jan 26, 2005 5:19 am    Post subject: MRM XML and encoding information Reply with quote

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
View user's profile Send private message Send e-mail
shanson
PostPosted: Wed Jan 26, 2005 5:28 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 26, 2005 5:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Duke
PostPosted: Wed Jan 26, 2005 6:18 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
shanson
PostPosted: Wed Jan 26, 2005 6:56 am    Post subject: Reply with quote

Partisan

Joined: 17 Oct 2003
Posts: 344
Location: IBM Hursley

A fix pack is not a release.
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 » MRM XML and encoding information
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.