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

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

[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlTextReader.cs,1.39,1.40


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlTextReader.cs,1.39,1.40
Date: Sat, 10 May 2003 13:48:54 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Xml
In directory subversions:/tmp/cvs-serv3982/System.Xml

Modified Files:
        XmlTextReader.cs 
Log Message:
Fix bug #3528 and ReadInnerXml bug as well


Index: XmlTextReader.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlTextReader.cs,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** XmlTextReader.cs    5 Apr 2003 06:17:05 -0000       1.39
--- XmlTextReader.cs    10 May 2003 17:48:51 -0000      1.40
***************
*** 795,801 ****
                                                if(structFlag != true)
                                                {
!                                                       throw new XmlException
!                                                               
(S._("Xml_Malformed"));
                                                }
                                                ClearNodeInfo();
                                                builder = new StringBuilder();
--- 795,806 ----
                                                if(structFlag != true)
                                                {
!                                                       
builder.Append((char)ch);
!                                                       ch = ReadChar();
!                                                       AnalyzeChar(ch, false);
!                                                       break;
                                                }
+ 
+                                               /* else */
+ 
                                                ClearNodeInfo();
                                                builder = new StringBuilder();
***************
*** 834,842 ****
                                                if(structFlag != true)
                                                {
!                                                       throw new XmlException
!                                                               
(S._("Xml_Malformed"));
                                                }
  
- 
                                                // Comment, CDATA, or document 
type information.
                                                ch = ReadChar();
--- 839,848 ----
                                                if(structFlag != true)
                                                {
!                                                       
builder.Append((char)ch);
!                                                       ch = ReadChar();
!                                                       AnalyzeChar(ch, false);
!                                                       break;
                                                }
  
                                                // Comment, CDATA, or document 
type information.
                                                ch = ReadChar();
***************
*** 1624,1628 ****
                                {
                                        MoveToContent();
-                                       ReadChar();
                                        while((ch = ReadChar()) != -1)
                                        {
--- 1630,1633 ----





reply via email to

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