* XmlWriter.cs : on reader.NodeType is None, WriteNode() still tries to read more (and might result in an error). svn path=/trunk/mcs/; revision=33420
@@ -1,3 +1,8 @@
+2004-09-06 Atsushi Enomoto <[email protected]>
+
+ * XmlWriter.cs : on reader.NodeType is None, WriteNode() still tries
+ to read more (and might result in an error).
2004-09-03 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : When Normalization is true, CRLF and CR should
@@ -450,7 +450,7 @@ namespace System.Xml
case XmlNodeType.EndEntity:
break;
case XmlNodeType.None:
- return; // Do nothing, nor reporting errors.
+ break; // Do nothing, nor reporting errors.
default:
throw new XmlException ("Unexpected node " + reader.Name + " of type " + reader.NodeType);
}