IIB 10 – Handling XML that is not well formed

I have an MQInput node that reads an xml message from the queue. I am trying to handle the condition when we get a malformed xml document or an invalid xml document but it doesn’t behave as expected. There is no exception thrown and the path proceeds along the out terminal instead of the failure terminal. The ExceptionList is empty so there is no way to get any information about the parse error.

How does one handle an xml parse error when an xml message is not well formed or an xml validation error when an xml message is not valid? How can I determine the error happened and what the error is?


Failed to validate the document: “%1”.

Product: BizTalk Server
Event ID: 5233
Source: BizTalk Server 3.0
Version: 3.0.4604.0
Message: Failed to validate the document: “%1”.
The XML disassembler encountered an XML validation error during the processing of an input message.
User Action
Verify that the input message contains a valid XML document. You can open the XML document using Internet Explorer to check the XML syntax.