Re: Checking XmlDocument for Well-Formedness

Home Page Forums BizTalk 2004 – BizTalk 2010 Checking XmlDocument for Well-Formedness Re: Checking XmlDocument for Well-Formedness

#16437

It depends on how you are loading the XmlDocument object…

LoadXml does not perform validation, and Load would require you to utilize a XmlValidatingReader and ValidationEventHandler for validation…you could consider using either method within a Pipeline Component and manage any exceptions at the disassemble stage before it hits your port.

MSDN Article

My $.02, but I'm sure the actual Guru's may have a solution as well.

-Rich