We have a string field which can contain XML or plain text. The XML contains no header, and no root element, i.e. is not well formed.
header, and no root element, i.e. is not well formed.
We need t
If you're going to accept not well formed XML in the first place, I think catching the exception is the best way to handle it.