I get this error when reading some data from an SQL column and then converting to XML:
"System.InvalidOperationException: there is an error in the XML document (182, 16). ---> System.Xml.XmlException: '', the hexadecimal value 0x0B is an invalid character."
Fair enough, maybe the data is distorted. Also, how can I find a criminal string?
SELECT * from Mytable where Column like '%' + char(0x0B)+'%'
returns empty.
(obviously, I tried to use all% + char, char, char +% combinations, just in case)
source
share