private Document getXhtmlDOMFor(final Reader source) {
final Configuration configuration1 = configuration;
try {
return PARSER.parseTemplate(configuration1, "input", source);
} catch (final Exception e) {
throw new TemplateInputException("Exception during parsing of source", e);
}
}