[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnetlib/System.Xml XmlTextReader.cs, 1.45, 1.46
From: |
Adam Ballai <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnetlib/System.Xml XmlTextReader.cs, 1.45, 1.46 |
Date: |
Sat, 15 Nov 2003 06:08:03 +0000 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Xml
In directory subversions:/tmp/cvs-serv22846/System.Xml
Modified Files:
XmlTextReader.cs
Log Message:
bug fix for doctypes
Index: XmlTextReader.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlTextReader.cs,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** XmlTextReader.cs 15 Nov 2003 05:30:19 -0000 1.45
--- XmlTextReader.cs 15 Nov 2003 06:08:01 -0000 1.46
***************
*** 70,73 ****
--- 70,74 ----
private bool isEntity = false;
private int startEntity = 0;
+ private bool isDocType = false;
// Constructors.
***************
*** 837,842 ****
// Comment, CDATA, or document
type information.
ch = ReadChar();
! AnalyzeChar(ch, true);
break;
case '-':
--- 838,844 ----
// Comment, CDATA, or document
type information.
+ isDocType = true;
ch = ReadChar();
! AnalyzeChar(ch, false);
break;
case '-':
***************
*** 926,930 ****
case 'D':
! if(structFlag != true)
{
goto default;
--- 928,932 ----
case 'D':
! if(structFlag == true ||
isDocType == false)
{
goto default;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/System.Xml XmlTextReader.cs, 1.45, 1.46,
Adam Ballai <address@hidden> <=