result.setHandler(consumer);
// According to TrAX specs, all TransformerHandlers are LexicalHandlers
result.setLexicalHandler(consumer);
transformerHandler.setResult(result);
super.setXMLConsumer(new XMLConsumerAdapter(transformerHandler, transformerHandler));
}