Changeset 32484

Show
Ignore:
Timestamp:
25.09.2018 10:55:22 (11 months ago)
Author:
kjdon
Message:

XMLConverter no longer has setEntityResolver method. Pass it in to getDOM instead

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/sites/localsite/collect/gberg/java/ImportXML.java

    r5956 r32484  
    3131    public ImportXML() { 
    3232    converter = new XMLConverter(); 
    33     converter.setEntityResolver(this); 
    34      
    3533    } 
    3634    public void setOutDir(File out_dir) { 
     
    7472    } 
    7573    // now do the importing 
    76     Document doc = converter.getDOM(file); 
     74    Document doc = converter.getDOM(file, this); 
    7775     
    7876        String gs3NS = "http://www.greenstone.org/gs3";