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 » !DOCTYPE => using MRM

Post new topic  Reply to topic
 !DOCTYPE => using MRM « View previous topic :: View next topic » 
Author Message
broker_new
PostPosted: Wed May 20, 2009 5:40 am    Post subject: !DOCTYPE => using MRM Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

Hi Guys,

I have searched the forum to fix this problem, but most of the threads were open for the message domain as either XML or XMLNS, in my case the message domain is "MRM".

I have followed the infocenter and unchecked the suppress DOCTYPE and gave the value for DOCTYPE System ID.

The output is as follows.
<?xml version="1.0" standalone="no"?>
<!DOCTYPE Request_Message SYSTEM "/IBM/DB2/orderDTD.dtd">
<Request_Message>
</Request_Message>

But the output should be as
<?xml version="1.0" standalone="no"?>
<!DOCTYPE SYSTEM "/IBM/DB2/orderDTD.dtd">
<Request_Message>
</Request_Message>
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed May 20, 2009 2:40 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

It could be a defect in the MRM XML parser. If you can prove that setting the DOCTYPE property has no effect/the wrong effect, you could raise a PMR.

Regardless, you should not really be writing new message flows which use MRM XML. Not even if you are on v6.0. It is very simple to output an XML message using XMLNSC. and it will use less CPU as well. I suggest that you give it a try.
Back to top
View user's profile Send private message
broker_new
PostPosted: Wed May 20, 2009 6:44 pm    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

Correct, The reason why we are using MRM (WMBv6.0) is for validating the message before sending it to the third party vendors.
Based on the message types, they have requested us to populate the DOCTYPE to validate the message against their DTD's.

They are fine with the format which we are sending
<?xml version="1.0" standalone="no"?>
<!DOCTYPE Request_Message SYSTEM "/IBM/DB2/orderDTD.dtd">
<Request_Message>
</Request_Message>

I was wondering to know...if there is a way to remove the "Request_Message" from the DOCTYPE declaration.
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu May 21, 2009 1:46 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
The reason why we are using MRM (WMBv6.0) is for validating the message before sending it to the third party vendors.
Fair enough. That's a valid reason for using MRM XML in v6.0.

Quote:
the output should be as
<?xml version="1.0" standalone="no"?>
<!DOCTYPE SYSTEM "/IBM/DB2/orderDTD.dtd">
<Request_Message>
</Request_Message>
I think that's invalid. See http://www.w3.org/TR/2006/REC-xml-20060816/#sec-prolog-dtd
The way I read this, the Name part of the DOCTYPE declaration is mandatory, and must indicate the element type of the root element.
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 » !DOCTYPE => using MRM
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.