Does .Net 4.5 support XML 1.1 yet (for characters invalid in XML 1.0)?

No, it doesn’t look like XmlReader (the core of much of the XML support in .NET) supports 1.1: using System; using System.IO; using System.Xml; class Program { static void Main(string[] args) { string xml = “<?xml version=\”1.1\” ?><tag>&#x1</tag>”; var reader = XmlReader.Create(new StringReader(xml)); while (reader.Read()); } } Output: Unhandled Exception: System.Xml.XmlException: Version number ‘1.1’ is … Read more