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 » Importing DTD to MRM // RESOLVED

Post new topic  Reply to topic
 Importing DTD to MRM // RESOLVED « View previous topic :: View next topic » 
Author Message
NikoP
PostPosted: Mon Jan 12, 2004 8:48 am    Post subject: Importing DTD to MRM // RESOLVED Reply with quote

Novice

Joined: 08 Dec 2003
Posts: 16

Hi !

I'm importing a DTD to my MRM using the "Import to Message Set ->
DTD" function.
It works well but I've got a problem in the end

My DTD begins like :
<?xml version="1.0" encoding="UTF-8"?>
<!ATTLIST MyMessage
DataReferenceLanguage CDATA #REQUIRED
MessageReferenceLanguage CDATA #REQUIRED
MessageId CDATA #REQUIRED
ProcessName CDATA #REQUIRED
...


The point is that my output message only displays the
<?xml version="1.0"> processing instruction. The encoding is missing.

I've seen previous posts on the subject but I can't find which element to set in order to have this encoding instruction.
Which parametre should I set to have my correct output ?

Thanks in advance for your help ! I'm getting MaAaAAaaAaaDdDDdD


Last edited by NikoP on Tue Jan 13, 2004 11:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jan 12, 2004 10:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I think you need to set this at the message set level, I don't remember right now which property controls this, but you can find that out by going to XML wire format tab of the message set and then look for the property related to XML Declaration.
I think this problem is fixed in CSD3 of WMQI, please make sure you have that installed on your server.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Missam
PostPosted: Mon Jan 12, 2004 9:56 pm    Post subject: Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

Hi kirani,
do you mean we have to set encoding null num and encoding non null num of the XML wire format values
Back to top
View user's profile Send private message
kalva7
PostPosted: Tue Jan 13, 2004 4:11 am    Post subject: Reply with quote

Novice

Joined: 18 Sep 2003
Posts: 21
Location: Pune,India

Hi,

Go to the XML wire format tab of the message , set "Standalone Document" property to yes....then message contains encoding information.

Cheers/Chandra
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
NikoP
PostPosted: Tue Jan 13, 2004 6:49 am    Post subject: Reply with quote

Novice

Joined: 08 Dec 2003
Posts: 16

Hi !

Thanks for your answers but it doesn't seem to work for what I want.

Setting Standalone Document to YES is only adding the standalone proccesing instruction in the tag:

<?xml version="1.0" standalone="yes"?>

I still can't find the
<?xml version="1.0" encoding="UTF-8"?>

And I have no clue about which parameter to change in the XML tab...
Back to top
View user's profile Send private message
NikoP
PostPosted: Tue Jan 13, 2004 11:46 pm    Post subject: Answered ! Reply with quote

Novice

Joined: 08 Dec 2003
Posts: 16

Hi !

Thanks to IBM support, I've finally got the solution to this kind of problem.

The point is that it's impossible to display this processing instruction using WMQI 2.1 + CSD 4 (don't know what happens on V5...). Although user's manual tells it, there no way to do it.

So the procedure consists in adding 2 extra-nodes :

- 1 ResetContentDescriptor to shift from MRM-XML domain to simple XML domain
- 1 compute node in which you add any instruction you want.

So simple in the end..! but not so obvious at first look ;o)

I hope it'll help some of you in the future
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 » Importing DTD to MRM // RESOLVED
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.