[ pyxml-Patches-1442890 ] TreeWalker iterates past root node

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
Patches item #1442890, was opened at 2006-03-04 04:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=306473&aid=1442890&group_id=6473

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: J Robert Ray (jrray)
Assigned to: Nobody/Anonymous (nobody)
Summary: TreeWalker iterates past root node

Initial Comment:
TreeWalker fails to stop iterating when it reaches the
root node (of a subtree), and will continue returning
nodes until it hits the end of the document.

The broken behavior is due to a couple typos in the
code, this patch fixes the typos and includes a test
case that exercises the bug.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=306473&aid=1442890&group_id=6473
_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.