Martin Honnen It should suffice to cast to an Xml Reader to access properties like Name e.g.in Test Event Handler Xml Reader reader = object as Xml Reader; if (reader ! I was updating a farm to SP 2013 SP1 and OWA SP1 and after that I had an error when browsing files on OWA. Invalid Operation Exception: There is an error in XML document (3, 4). When I put the OWA ULS logs to Verbose I found the following call stacks : The toplogy XML file exists but has invalid XML. = null) Another solution is to simply make the reader a member e.g.private Xml Reader reader; then set that in My Method e.g. Create("file.xml", settings); and then in the Test Event Handler you can access reader. Node Type Martin Honnen Making the reader you have a member so that all methods can access it is simply using object oriented programming techniques. Xsd Validating Reader object is not even visible in the object browser, most probably because of its protection level. (Is there a system setting I am unaware of ) In my case I don't need the name of the node (which is beatifully returned by Xml Reader). Read3_Farm Topology(Boolean is Nullable, Boolean check Type) at Microsoft. Read4_Farm Topology() - -- End of inner exception stack trace --- at System.
I should also note that this does not happen in 1.1, and by luck, this was found beneath a large set of schemas and would have been banging my head up against the wall for days if i didn't run it through a validation tool that was built on the 1.1 version of the . Since this is a valid schema (validated by other industry tools) using the Xml Validating Reader (which is now obsolete in 2.0) a validation error occurs and gives me the error that *I* would expect even though it should not give any error.Validate an xml document against the schema below to reproduce. Check Element Value(String string Value) at System. If you notice that there is a complex Type of "string" defined that has a simple Content extension to "xsd:string". Xml Schema Validation Exception: The required attribute 'Fully Qualified Domain Name' is missing. Send Validation Event(Xml Schema Validation Exception e, Xml Severity Type severity) at System.