// Remove the process.
dynamicProcess.removeProcess(process);
if (!context.inErrorRecoveryMode()) {
Object popped = context.popObject();
if (popped != model) {
XMLPipelineException error = new XMLPipelineException(
"Expected to remove object " + model +
"from the pipeline, but actually removed " + popped,
context.getCurrentLocator());