I am trying to create utility which accepts XML file and reports format (XML 1.0 syntax) errors if there is any. I tried these APIs XmlDocument.Load, XDocument.Parse, XmlReader.Read, These APIs throw exceptions at point where there is format error.
XML file can have format errors at multiple places, If I go with above APIs, I need to solve all format errors one by one. I would like to have error report as like as Visual Studio XML Editor. Visual studio list down all format errors in the ErrorList tab. Is there any solution?
Thanks in Advance