xvr.Schemas.Add (schema);\r
try {\r
xvr.Read ();\r
- Fail ();\r
+ Fail ("element mismatch is incorrectly allowed");\r
} catch (XmlSchemaException) {\r
}\r
\r
xvr.Schemas.Add (schema);\r
try {\r
xvr.Read ();\r
- Fail ();\r
+ Fail ("Element in different namespace is incorrectly allowed.");\r
} catch (XmlSchemaException) {\r
}\r
}\r