Created non-validating XmlReader
Created validating XmlReader over the non-validating XmlReader
Executing the ReadToDescendant("slide") method
Found element 'slide' with position attribute = '1'
Executing the ReadToNextSibling("slide") method
ValidationEventHandler detected an error:
Message = The 'position' attribute is invalid - The value 'two' is invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:unsignedByte' - The string 'two' is not a valid Byte value.
Severity = Error LineNumber = 10 LinePosition = 12
Found element 'slide' with position attribute = 'two'
Executing the ReadToDescendant("title") method
Found element 'title' with value = 'Introduction'
Executing the ReadToFollowing("slide") method
ValidationEventHandler detected an error:
Message = The 'http://myns/slidesdemo/reviewdate:reviewed' element is invalid - The value 'no' is invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:dateTime' - The string 'no' is not a valid XsdDateTime value.
Severity = Error LineNumber = 12 LinePosition = 24
Found element 'slide' with position attribute = '3'
Executing the ReadToDescendant("reviewed", "http://myns/slidesdemo/reviewdate") method
Found element 'rv:reviewed' with value = '2004-03-02T00:00:00'