Xmlvalidatingreader xmlreader create
Quote of the day: Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee.
He is a failed stand-up comic, a cornrower, and a book author.
The main advantage of XML is that it is extensible. Also since it is written purely as text, it is portable across various software and hardware platforms. The rules for well-formed XML documents are as follows: The structure of an XML file can be specified by creating a schema.
It's easy to pull the main schema out of it's resource and pass the Stream into Xml Schema. It's slightly less obvious how to get that schema to resolve its imports.