Changeset 10067


Ignore:
Timestamp:
2005-06-13T14:15:10+12:00 (19 years ago)
Author:
kjdon
Message:

turned off the defer node expansion feature in the xerces parser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/util/XMLConverter.java

    r9874 r10067  
    6161        this.parser.setFeature("http://xml.org/sax/features/validation", false);
    6262
     63        // a performance test showed that having this on lead to increased
     64        // memory use for small-medium docs, and not much gain for large
     65        // docs.
     66        // http://www.sosnoski.com/opensrc/xmlbench/conclusions.html
     67        this.parser.setFeature("http://apache.org/xml/features/dom/defer-node-expansion", false);
    6368    } catch (Exception e) {
    6469        System.err.println("XMLConverter:exception "+e.getMessage());
Note: See TracChangeset for help on using the changeset viewer.