Created attachment 34535 [details] Patch that solves a performance issue when Importing large xml When using XSSFImportFromXML to import a large XML (several 1000 data entries) into tables, the Duration of this Operation increases exponential. The reason for that is a Performance issue in the Evaluation of xpath. (Read more here: http://stackoverflow.com/questions/3782618/xpath-evaluate-performance-slows-down-absurdly-over-multiple-calls Find attached Patch.
Thanks, patch and test look good to me. Fixed in SVN r1777146