[Top][All Lists]
[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: |
Fri, 11 Jul 2003 03:37:35 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030507 |
=================== BUG #4218: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4218&group_id=353
Changes by: James Michael DuPont <address@hidden>
Date: Fri 07/11/2003 at 09:37 (Europe/Berlin)
------------------ Additional Follow-up Comments ----------------------------
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....
=================== BUG #4218: FULL BUG SNAPSHOT ===================
Submitted by: None Project: DotGNU Portable.NET
Submitted on: Mon 07/07/2003 at 04:02
Category: None Severity: 5 - Major
Bug Group: None Resolution: None
Assigned to: None Status: Open
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: Fri 07/11/2003 at 09: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 09: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: Mon 07/07/2003 at 04:02 Name: xml9.cs Size: 0KB By: None
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=4218&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/