Show
Ignore:
Timestamp:
08/30/10 00:30:11 (21 months ago)
Author:
mtld
Message:

added config-include support for modules

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-0.15.x/pustefix-core/src/main/java/de/schlund/pfixxml/util/Xml.java

    r5063 r5326  
    210210     
    211211    public static Document parseMutable(Resource res) throws IOException, SAXException { 
    212         return parseMutable(new InputSource(res.toURI().toString())); 
     212        InputSource is = new InputSource(); 
     213        is.setSystemId(res.toURI().toString()); 
     214        is.setByteStream(res.getInputStream()); 
     215        return parseMutable(is); 
    213216    } 
    214217