Posted: Wed May 02, 2007 1:59 am Post subject: Input Node Validation - XMLNS
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:
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?
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.
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