Joe,

In order to make this  issue is not forgotten I have submitted a enhancement
request into budzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12773.

I tried to enable using indexing in ChildTestIteratort class were it is
currently commented out. First smoke test failed, than I fixed a bug in
uncommented code, and then smoke test successes. My simple stylesheets were
processed well too, so I thought the problem really solved - indexes are in
use, and this really helps in performance.

Unfortunately one of my colleagues later have found that result is differ on
his stylesheets - some elements are missing. I'll try to investigate this
and fix this. Actually I not against indexing - if it could help.

As for org.apache.xml.dtm.ref.DTMBaseTraversers class  - it has two pair of
methods (first and next), one with using indexes, second pair will not use
indexes.  Currently I have found only references to methods with indexes
from DescendantInterator and ChildTestIterator (and here it is commented out
). Other classes calls method without indexing.


Best regards,
Pavel

Reply via email to