dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] pnetlib ChangeLog System.Xml/XmlElement.cs


From: Gopal.V
Subject: [dotgnu-pnet-commits] pnetlib ChangeLog System.Xml/XmlElement.cs
Date: Mon, 25 Sep 2006 05:27:37 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnetlib
Changes by:     Gopal.V <t3rmin4t0r>    06/09/25 05:27:37

Modified files:
        .              : ChangeLog 
        System.Xml     : XmlElement.cs 

Log message:
        Stop InnerXml set from skipping valid nodes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnetlib/ChangeLog?cvsroot=dotgnu-pnet&r1=1.2435&r2=1.2436
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System.Xml/XmlElement.cs?cvsroot=dotgnu-pnet&r1=1.18&r2=1.19

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.2435
retrieving revision 1.2436
diff -u -b -r1.2435 -r1.2436
--- ChangeLog   21 Sep 2006 10:26:02 -0000      1.2435
+++ ChangeLog   25 Sep 2006 05:27:37 -0000      1.2436
@@ -1,3 +1,9 @@
+
+2006-09-25  Gopal V  <address@hidden>
+
+       * System.Xml/XmlElement.cs: Fix InnerXml to avoid skipping
+       over elements.
+
 2006-09-21  Heiko Weiss <address@hidden>
 
        * System.Drawing/Drawing2D/GraphicsPath.cs: added calculation Points.

Index: System.Xml/XmlElement.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlElement.cs,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- System.Xml/XmlElement.cs    18 Oct 2004 09:28:18 -0000      1.18
+++ System.Xml/XmlElement.cs    25 Sep 2006 05:27:37 -0000      1.19
@@ -147,16 +147,13 @@
                                                // read the next child node
                                                XmlNode child = 
doc.ReadNodeInternal(r);
 
-                                               // append the child or try to 
read another
+                                               // append the child 
(ReadNodeInternal should
+                                               // advance reader)
                                                if(child != null)
                                                {
                                                        // append the new child 
node
                                                        AppendChild(child);
                                                }
-                                               else
-                                               {
-                                                       r.Read();
-                                               }
                                        }
                                        while(r.ReadState == 
ReadState.Interactive);
                                }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]