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 » How to check XML message against a DTD?

Post new topic  Reply to topic
 How to check XML message against a DTD? « View previous topic :: View next topic » 
Author Message
dev
PostPosted: Mon Oct 29, 2001 9:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Miriam Kaestner
PostPosted: Thu Nov 01, 2001 2:40 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kirani
PostPosted: Fri Nov 02, 2001 10:19 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to check XML message against a DTD?
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.