[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlTextReader.cs,1.15,1.16
From: |
adam ballai <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlTextReader.cs,1.15,1.16 |
Date: |
Fri, 10 Jan 2003 22:04:22 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Xml
In directory subversions:/tmp/cvs-serv24011/pnetlib/System.Xml
Modified Files:
XmlTextReader.cs
Log Message:
Index: XmlTextReader.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlTextReader.cs,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** XmlTextReader.cs 11 Jan 2003 01:32:03 -0000 1.15
--- XmlTextReader.cs 11 Jan 2003 03:04:20 -0000 1.16
***************
*** 597,615 ****
if(structFlag != true)
{
! throw new XmlException
!
(S._("Xml_Malformed"));
}
-
- // End element tag.
- name = ReadIdentifier(-1);
- SkipWhite();
- Expect('>');
- nodeType =
XmlNodeType.EndElement;
- SetName(name);
- value = String.Empty;
- attributes = null;
- attributeIndex = -1;
- isEmpty = false;
- --depth;
break;
case '?':
--- 597,619 ----
if(structFlag != true)
{
! SkipWhite();
! Expect('>');
! nodeType =
XmlNodeType.EndElement;
! isEmpty = true;
! }
! else
! {
! // End element tag.
! name =
ReadIdentifier(-1);
! SkipWhite();
! Expect('>');
! nodeType =
XmlNodeType.EndElement;
! SetName(name);
! value = String.Empty;
! attributes = null;
! attributeIndex = -1;
! isEmpty = false;
! --depth;
}
break;
case '?':
***************
*** 733,736 ****
--- 737,741 ----
SetName(name);
nodeType =
XmlNodeType.Attribute;
+ attributeIndex++;
// reset buffer
builder = new StringBuilder();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlTextReader.cs,1.15,1.16,
adam ballai <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: treecc ChangeLog,1.67,1.68 NEWS,1.9,1.10 configure.in,1.26,1.27
- Next by Date:
[Dotgnu-pnet-commits] CVS: treecc ChangeLog,1.68,1.69 configure.in,1.27,1.28
- Previous by thread:
[Dotgnu-pnet-commits] CVS: treecc ChangeLog,1.67,1.68 NEWS,1.9,1.10 configure.in,1.26,1.27
- Next by thread:
[Dotgnu-pnet-commits] CVS: treecc ChangeLog,1.68,1.69 configure.in,1.27,1.28
- Index(es):