[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 19:31:19 -0400 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET CLR 1.0.3705; .NET CLR 1.1.4322) |
=================== BUG #4218: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4218&group_id=353
Changes by: Simon Guindon <address@hidden>
Date: Fri 07/11/03 at 23:31 (GMT)
------------------ Additional Bug Attachment ----------------------------
File name: xml9.cs Size:0 KB
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=4218&bug_file_id=526
=================== BUG #4218: FULL BUG SNAPSHOT ===================
Submitted by: None Project: DotGNU Portable.NET
Submitted on: Mon 07/07/03 at 02: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/03 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/03 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/03 at 23:31 Name: xml9.cs Size: 0KB By: si
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=4218&bug_file_id=526
-------------------------------------------------------
Date: Mon 07/07/03 at 02: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/