# Patch created by heiko # Date: Mo Jun 28 11:33:30 CEST 2004 # Repository: pnetlib # Comments: # # # Fixed XmlElement.InnerXml # #### End of Preamble #### #### Patch data follows #### Index: System.Xml/XmlElement.cs =================================================================== RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlElement.cs,v retrieving revision 1.16 diff -c -r1.16 XmlElement.cs *** System.Xml/XmlElement.cs 28 Jun 2004 05:45:09 -0000 1.16 --- System.Xml/XmlElement.cs 28 Jun 2004 09:39:24 -0000 *************** *** 155,161 **** AppendChild(child); } } ! while(true); } } --- 155,165 ---- AppendChild(child); } } ! while(r.ReadState == ReadState.Interactive); // Stop loop, when r.ReadState == EOF !!! ! // If U do while(true) doc.ReadNodeInternal never stops, cause ReadNodeInternal does not ! // ask the reader if it's at the end of file. ! // maybe ReadNodeInternal should ask this (what ReadNode does ). ! } } #### End of Patch data ####