* XsdValidatingReader.cs : When the reader points at XmlDeclaration,
AttributeCount counts its values (version, encoding, standalone).
svn path=/trunk/mcs/; revision=22766
+2004-02-04 Atsushi Enomoto <atsushi@ximian.com>
+
+ * XsdValidatingReader.cs : When the reader points at XmlDeclaration,
+ AttributeCount counts its values (version, encoding, standalone).
+
2004-02-03 Atsushi Enomoto <atsushi@ximian.com>
* XsdValidatingReader.cs : schemaLocation is not NMTOKENS. It is list
this.missingIDReferences.ToArray (typeof (string)) as string []));
switch (reader.NodeType) {
+ case XmlNodeType.XmlDeclaration:
+ this.nonDefaultAttributeCount = reader.AttributeCount;
+ break;
case XmlNodeType.Element:
nonDefaultAttributeCount = reader.AttributeCount;