pipelineFactory.getNamespaceFactory().createPrefixTracker();
// ...and an EnvironmentInteractionTracker.
EnvironmentFactory environmentFactory =
EnvironmentFactory.getDefaultInstance();
EnvironmentInteractionTracker envTracker =
environmentFactory.createInteractionTracker();
//create a root environment interaction to encapsulate the request
EnvironmentInteraction rootEnvironmentInteraction =
createRootEnvironmentInteraction(
httpRequest, httpResponse);
envTracker.pushEnvironmentInteraction(rootEnvironmentInteraction);
final ExpressionContext exprContext =
pipelineFactory.getExpressionFactory().
createExpressionContext(envTracker, namespaceTracker);