attachXMLReader(saxReader, executionContext);
configureReader(saxReader, saxHandler, executionContext, source);
if(executionContext != null) {
if(saxReader instanceof HierarchyChangeReader) {
((HierarchyChangeReader)saxReader).setHierarchyChangeListener(new XMLReaderHierarchyChangeListener(executionContext));
}
saxReader.parse(createInputSource(source, executionContext.getContentEncoding()));
} else {
saxReader.parse(createInputSource(source, Charset.defaultCharset().name()));
}