bugDotGNU Portable.NET - Bugs: bug #4218, XmlTextReader.ReadAttributeValue...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #4218: XmlTextReader.ReadAttributeValue causing infinite loop

Submitted by:  None
Submitted on:  Mon 07 Jul 2003 02:02:45 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Postponed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 18 Aug 2003 02:07:47 AM UTC, comment #3:

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

Rhys Weatherley <rweather>
Project Administrator
Fri 11 Jul 2003 07:37:35 AM UTC, comment #2:

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....

James Michael DuPont <mdupont>
Fri 11 Jul 2003 07:07:47 AM UTC, comment #1:

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

James Michael DuPont <mdupont>
Mon 07 Jul 2003 02:02:45 AM UTC, 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)

Anonymous

 

Attached Files
file #530:  xml9.cs added by si (681B - text/xml)
file #512:  xml9.cs added by None (681B - text/xml)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 18 Aug 2003 02:07:47 AM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1