I get this error when reading some data from an SQL column then converting it to XML:
"System.InvalidOperationException: There is an error in XML document (182, 16). ---> System.Xml.XmlException: ' ', hexadecimal value 0x0B, is an invalid character."
Fair enough, maybe the data is malformed. Except, how can I find the culprit row?
SELECT * from Mytable where Column like '%' + char(0x0B)+'%'
returns empty.
(obviously I attempted all %+char , char, char+% combinations, just in case)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…