|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to check XML message against a DTD? |
« View previous topic :: View next topic » |
Author |
Message
|
dev |
Posted: Mon Oct 29, 2001 9:28 am Post subject: |
|
|
Apprentice
Joined: 11 Oct 2001 Posts: 30
|
Hi,
Can someone guide me that how to verify a xml message entering into MQInput Node to against a defined DTD, so if xml message doesn't follow structure to that DTD then should go to failure Node.
Thanking you in anticipation.
Dev
[ This Message was edited by: dev on 2001-10-29 11:58 ] |
|
Back to top |
|
 |
Miriam Kaestner |
Posted: Thu Nov 01, 2001 2:40 am Post subject: |
|
|
Centurion
Joined: 26 Jun 2001 Posts: 103 Location: IBM IT Education Services, Germany
|
MQSI does only minimal validation of DTDs. The idea is to have end applications do the (expensive!) validation, and not put this load on the broker (this is rather a questions of philosophy, I think...).
The CMI (downloadable technology preview) uses definitions (message schema) stored in the MRM but does validate it. |
|
Back to top |
|
 |
kirani |
Posted: Fri Nov 02, 2001 10:19 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Hi,
We had same kind of requirement and we ended up writing a plug-in node which validates XML message against DTD file. You can refer to IBM's XML Parser code which does the DTD validation. You will have to use that code in your plug-in node.
Regards,
Kiran
|
|
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
|
|
|
|