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

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

[Dotgnu-pnet-commits] pnetlib/System.Xml XmlTextReader.cs, 1.44, 1.45


From: Adam Ballai <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/System.Xml XmlTextReader.cs, 1.44, 1.45
Date: Sat, 15 Nov 2003 05:30:21 +0000

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

Modified Files:
        XmlTextReader.cs 
Log Message:
Fix for bug 4215

Index: XmlTextReader.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlTextReader.cs,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** XmlTextReader.cs    13 Oct 2003 00:58:25 -0000      1.44
--- XmlTextReader.cs    15 Nov 2003 05:30:19 -0000      1.45
***************
*** 109,113 ****
                                attributes = new XmlAttributeCollection(attr); 
                                attributeIndex = -1;
!                               depth = 0;
                                isEmpty = false;
                                contextSupport = false;
--- 109,113 ----
                                attributes = new XmlAttributeCollection(attr); 
                                attributeIndex = -1;
!                               depth = -1;
                                isEmpty = false;
                                contextSupport = false;
***************
*** 361,365 ****
                                Close();
                                readState = ReadState.EndOfFile;
-                               
                                return s;
                        }
--- 361,364 ----
***************
*** 808,811 ****
--- 807,811 ----
                                                                {
                                                                        
nodeType = XmlNodeType.XmlDeclaration;
+                                                                       
SetName("xml");
                                                                }
                                                                else
***************
*** 824,832 ****
                                                        {
                                                                value = 
builder.ToString(0, builder.Length -1);
!                                                               ReadChar();
                                                                break;
                                                        }
                                                }
-                                               
                                                break;
                                        case '!':
--- 824,831 ----
                                                        {
                                                                value = 
builder.ToString(0, builder.Length -1);
!                                                               ch = ReadChar();
                                                                break;
                                                        }
                                                }
                                                break;
                                        case '!':
***************
*** 1758,1762 ****
                                get
                                {
!                                       if(attributeIndex == -1)
                                        {
                                                return depth;
--- 1757,1761 ----
                                get
                                {
!                                       if(attributeIndex == -1 && depth != -1)
                                        {
                                                return depth;





reply via email to

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