[XML-SIG] [ pyxml-Bugs-1480403 ] xpath.Evaluate() fails on larger documents

SourceForge.net noreply at sourceforge.net
Tue May 2 15:59:44 CEST 2006


Bugs item #1480403, was opened at 2006-05-02 13:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=1480403&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: Rene Ladan (rene0)
Assigned to: Nobody/Anonymous (nobody)
Summary: xpath.Evaluate() fails on larger documents

Initial Comment:
I'm using the xpath.Evaluate() function in a Python
program but xpath.Evaluate() seems to have a bug.  When
using a small test document (10 lines), it get the
right result, but when using a larger document (about
185kB), it returns an empty list instead of the
expected result. In both cases I'm expecting a list
containing a single text node.

The path expression and the relative starting node of
the expression are the same in both cases.

I've attached the test document (test-eval.xml), the
larger document (vb.xml), and a test program
(test-eval.py) which also has the above behaviour as a
single archive xpath-evaluate.tar.gz

Versions:
python 2.4.3
py-xml 0.8.4


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=1480403&group_id=6473


More information about the XML-SIG mailing list