Ignore:
Timestamp:
2015-02-10T18:07:10+13:00 (9 years ago)
Author:
ak19
Message:

Adjusting gs3-server code to work with changes made to 29686 where web.xml was split into web.xml and servlets.xml, with the first including the second.

File:
1 edited

Legend:

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

    r28978 r29728  
    159159    return null;
    160160    }
     161
     162  public static Document getDOM(File in, EntityResolver er) {
     163   
     164    try {     
     165      InputSource xml_source = new InputSource(new FileInputStream(in));
     166      Document doc = getDOM(xml_source, er);     
     167      return doc;     
     168    }
     169    catch (Exception e)
     170      {
     171    logger.error(e.getMessage());
     172      }
     173    return null;
     174  }
    161175
    162176  public static Document getDOM(InputSource source, EntityResolver er) {
Note: See TracChangeset for help on using the changeset viewer.