C#, XmlDocument, and special ISO Latin characters

Posted by Trent on Stack Overflow See other posts from Stack Overflow or by Trent
Published on 2009-12-08T01:12:31Z Indexed on 2011/01/11 12:53 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

I'm trying to load up xml into an XmlDocument, but it doesn't recognize the encoded '&eacute' and throws an error 'An error occurred while parsing Entity Name'. Now I can add a custom entity set in a DTD of my xml, so the XmlDocument loads properly. But what I'm hoping is that I can reference a url that has a common set of these ISO Latin encoded characters. Is this possible, or do I need to inject a custom list of DTD sets?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET