|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
!DOCTYPE => using MRM |
« View previous topic :: View next topic » |
Author |
Message
|
broker_new |
Posted: Wed May 20, 2009 5:40 am Post subject: !DOCTYPE => using MRM |
|
|
 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 |
|
 |
kimbert |
Posted: Wed May 20, 2009 2:40 pm Post subject: |
|
|
 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 |
|
 |
broker_new |
Posted: Wed May 20, 2009 6:44 pm Post subject: |
|
|
 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 |
|
 |
kimbert |
Posted: Thu May 21, 2009 1:46 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|