@@ -1,3 +1,8 @@
+2003-10-13 Lluis Sanchez Gual <[email protected]>
+
+ * XmlSchema.cs: If the schema element is an empty element, skip it after
+ reading the attributes.
2003-10-09 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : Added CLSCompliant attributes to some classes.
@@ -622,6 +622,9 @@ namespace System.Xml.Schema
{
ReadContent(schema, reader, validationEventHandler);
}
+ else
+ rdr.Skip ();
if (rdr.NodeType == XmlNodeType.EndElement)
rdr.Read ();
return schema;