Index: System.Xml/XmlDocument.cs =================================================================== --- System.Xml/XmlDocument.cs (revision 59961) +++ System.Xml/XmlDocument.cs (working copy) @@ -868,6 +868,7 @@ reader.MoveToAttribute (i); element.SetAttributeNode ( ReadAttributeNode (reader)); + reader.MoveToElement (); } // FIXME: the code below should be fine and // in some XmlReaders it is much faster, but