{
msgContext = ctx;
// If high fidelity is required, record the whole damn thing.
if (ctx == null || ctx.isHighFidelity())
recorder = new SAX2EventRecorder();
if (initialHandler instanceof EnvelopeBuilder) {
envelope = ((EnvelopeBuilder)initialHandler).getEnvelope();
envelope.setRecorder(recorder);
}