Ran into an issue where we had non-ascii characters in a varchar(max) column. Due to these characters we couldn't cast the document to an XML…