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 » Input Node Validation - XMLNS

Post new topic  Reply to topic
 Input Node Validation - XMLNS « View previous topic :: View next topic » 
Author Message
ayanc
PostPosted: Wed May 02, 2007 1:59 am    Post subject: Input Node Validation - XMLNS Reply with quote

Voyager

Joined: 15 Nov 2004
Posts: 88

Hi,

I am trying to generate a ParserException using the input node validation feature. I have defined the domain as XMLNS, Validation - Content and Value, and FailureAction - Exception. I am sending a non XML message as below:

00000000 fsd sfkls..fsjfk sdkfjklsd....s
00000032 dfkfjksdl sdkjfklsdk

I thought that this message will generate an exception in the input node itself. But that did not happen. It generated exception during some processing in Compute node following this input node.

Is this an expected behaviour? Does the Validation apply for Message Sets only?

I am using MB 6.0 CSD 03.

Thanx.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 02, 2007 3:00 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes, validation only applies when using message sets.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed May 02, 2007 4:26 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Validation checks an XML message against an XML Schema. You were not trying to do that.
Your input document was badly-formed XML, so you are getting an XML parsing error. It is being generated by the XMLNS parser during Compute node processing because Parse Timing is set to 'On Demand'. If you set it to 'Immediate' you will find that the same error will be generated at the Input node. But don't do that unless you really need to - on demand parsing is a useful performance feature.
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 » Input Node Validation - XMLNS
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.