Reference to undeclared entity 'nbsp' - why?

Posted by Charles on Stack Overflow See other posts from Stack Overflow or by Charles
Published on 2009-06-24T16:32:55Z Indexed on 2010/04/21 18:03 UTC
Read the original article Hit count: 1659

Filed under:
|

I have the following line of code:

XDocument formConfiguration = XDocument.Load(ConfigurationManager.AppSettings["XMLFileURL"]);

I get the following exception message:

Reference to undeclared entity 'nbsp'

There are no   sequences in the XML. There are no "&" characters in the XML. Where could this be coming from?

Thanks, Charles

© Stack Overflow or respective owner

Related posts about Xml

Related posts about .NET