dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bug #4218] XmlTextReader.ReadAttributeValue causing i


From: nobody
Subject: [Pnet-developers] [bug #4218] XmlTextReader.ReadAttributeValue causing infinite loop
Date: Sun, 17 Aug 2003 22:07:48 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

=================== BUG #4218: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4218&group_id=353

Changes by: Rhys Weatherley <address@hidden>
Date: Mon 08/18/2003 at 02:07 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Later
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Closed at submitters request - will be irrelevant once 
minddog's new System.Xml is integrated into the tree.



=================== BUG #4218: FULL BUG SNAPSHOT ===================


Submitted by: None                    Project: DotGNU Portable.NET          
Submitted on: Mon 07/07/2003 at 02:02
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  Later                    
Assigned to:  None                    Status:  Closed                       

Summary:  XmlTextReader.ReadAttributeValue causing infinite loop

Original Submission:  Ouput from .NET is:
1.0
http://etherx.jabber.org/streams
9ee4bd1a
jabber:client
gopal

Output from PNET (incorrect) is:
http://etherx.jabber.org/streams
http://etherx.jabber.org/streams
http://etherx.jabber.org/streams
http://etherx.jabber.org/streams
http://etherx.jabber.org/streams
http://etherx.jabber.org/streams
(continues on and on because of infinite loop)

Follow-up Comments
*******************

-------------------------------------------------------
Date: Mon 08/18/2003 at 02:07       By: rweather
Closed at submitters request - will be irrelevant once 
minddog's new System.Xml is integrated into the tree.

-------------------------------------------------------
Date: Fri 07/11/2003 at 07:37       By: mdupont
According to this spec :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemxmlxmlreaderclassreadattributevaluetopic.asp

"
Return Value
true if there are nodes to return.
false if the reader is not positioned on an attribute node when the initial 
call is made or if all the attribute values have been read.
"

So the implementation is not working properly....

-------------------------------------------------------
Date: Fri 07/11/2003 at 07:07       By: mdupont
The problem is this :
        while(r.ReadAttributeValue())

ReadAttributeValue never returns false. I have done a trace of the execution, 
the program is constantly copying arrays.
Can you please look into the ReadAttributeValue function and see if anything is 
wrong there. What is the specification of the function? under what conditions 
does it return 0?

mike



CC List
*******

CC Address                          | Comment
------------------------------------+-----------------------------
minddog                             | can you take a look at this



File Attachments
****************

-------------------------------------------------------
Date: Fri 07/11/2003 at 23:31  Name: xml9.cs  Size: 0KB   By: si

http://savannah.gnu.org/bugs/download.php?group_id=353&amp;bug_id=4218&amp;bug_file_id=526

-------------------------------------------------------
Date: Mon 07/07/2003 at 02:02  Name: xml9.cs  Size: 0KB   By: None

http://savannah.gnu.org/bugs/download.php?group_id=353&amp;bug_id=4218&amp;bug_file_id=515


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4218&group_id=353

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

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