CodingIsFun
Programmer
Hi all experts:
I am currently having some issues with a large XML file that I need to parse. I am getting the following error:
System.Xml.XmlException was unhandled
Message="Invalid character in the given encoding. Line 283, position 39709."
Is there anyway to remove all Invalid Encoding Characters from a Stream before I feed it to an XmlReader. I have no control over the Xml File(and it is very large and difficult to deal with), it is generated by another source in which they are very stubborn and will not modify there code to evaluate characters.
Any help would be greatly appreciated.
Thanks in advance..
I am currently having some issues with a large XML file that I need to parse. I am getting the following error:
System.Xml.XmlException was unhandled
Message="Invalid character in the given encoding. Line 283, position 39709."
Is there anyway to remove all Invalid Encoding Characters from a Stream before I feed it to an XmlReader. I have no control over the Xml File(and it is very large and difficult to deal with), it is generated by another source in which they are very stubborn and will not modify there code to evaluate characters.
Any help would be greatly appreciated.
Thanks in advance..