[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.20,1.21
From: |
adam ballai <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlTextReader.cs,1.20,1.21 |
Date: |
Tue, 14 Jan 2003 11:59:43 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Xml
In directory subversions:/tmp/cvs-serv2017/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.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** XmlTextReader.cs 13 Jan 2003 18:25:02 -0000 1.20
--- XmlTextReader.cs 14 Jan 2003 16:59:39 -0000 1.21
***************
*** 1132,1137 ****
MoveToContent();
int ch;
! String indexKey = "</" + Name + ">";
! builder.Append("<"+Name);
while((ch = ReadChar()) != -1)
{
--- 1132,1148 ----
MoveToContent();
int ch;
! if(NodeType == XmlNodeType.Element &&
AttributeCount > 0)
! {
! builder.Append("<"+Name);
! }
! else if(NodeType == XmlNodeType.Element &&
AttributeCount == 0)
! {
! builder.Append("<"+Name+">");
! }
! else if(NodeType == XmlNodeType.Attribute)
! {
! Read();
! return Name + "=" + QuoteChar + Value +
QuoteChar;
! }
while((ch = ReadChar()) != -1)
{
***************
*** 1139,1143 ****
if((char)ch == '<' &&
(char)reader.Peek() == '/')
{
! ReadChar();
while((ch = ReadChar()) != -1)
{
--- 1150,1154 ----
if((char)ch == '<' &&
(char)reader.Peek() == '/')
{
!
builder.Append((char)ReadChar());
while((ch = ReadChar()) != -1)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlTextReader.cs,1.20,1.21,
adam ballai <address@hidden> <=