I tried to use dom4j for large file XPath processing, but with 8MB file I get OutOfMemory error. Saxon can do it with 8MB file.
Comments? Did I oversee something?
Here is my source:
SAXReader reader = new SAXReader();
InputSource is = new InputSource(new StringReader(content));
Document doc;
try {
doc = reader.read(is);
System.out.println("here am i...");
//do Xpath _expression_
List list = doc.selectNodes(query);
....
doc = reader.read(is);
System.out.println("here am i...");
//do Xpath _expression_
List list = doc.selectNodes(query);
....
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.