Im using Visual Studio 2012, have here a C# project and of course I’m using an App.config in my project. Everything was fine, until I added something like this:
<add key="myChar" value="²"/>
Error:
Entity 'sup2' not defined
Well sup2 should represent ² as like &qout; is representing ". For &qout; I do not get any error. Why? Im still able to compile, but I want to get rid of this message – or understand why it’s an error for VS.
There are only a small subset of such entities that are valid for XML – those that escape parts of XML markup itself:
There are many more for various bits of syntax in HTML.
Reference (sorry its WikiPedia)