* @param systemId
* @return a new <code>ImportContext</code>
* @throws IOException
*/
protected ImportContext getImportContext(InputContext inputCtx, String systemId) throws IOException {
return new ImportContextImpl(
node, systemId, inputCtx,
(inputCtx != null) ? inputCtx.getInputStream() : null,
new DefaultIOListener(log), config.getDetector());
}