loading xml without invalid character errors

Posted by dalco on Stack Overflow See other posts from Stack Overflow or by dalco
Published on 2010-03-12T06:04:23Z Indexed on 2010/03/12 6:07 UTC
Read the original article Hit count: 199

Filed under:

at the moment im loading xml and i am getting error:

System.Xml.XmlException: ' ', hexadecimal value 0x17, is an invalid character. Line 2762, position 16.

it is easy to fix. just open xml and remove the character.

but I need to know is it possible to load xml even with invalid characters and use it for parsing. and is there any downside?

© Stack Overflow or respective owner

Related posts about c#