((TextFragmentValue)root).setConfiguration(controller.getConfiguration());
} else {
try {
XPathContext c2 = context.newMinorContext();
Builder builder = controller.makeBuilder();
//receiver.setSystemId(getBaseURI());
builder.setBaseURI(getBaseURI());
PipelineConfiguration pipe = controller.makePipelineConfiguration();
builder.setPipelineConfiguration(pipe);
c2.changeOutputDestination(builder, false);
Receiver out = c2.getReceiver();
out.open();
out.startDocument();
content.process(c2);
out.endDocument();
out.close();
root = (DocumentInfo)builder.getCurrentRoot();
} catch (XPathException e) {
e.maybeSetLocation(getSourceLocator());
e.maybeSetContext(context);
throw e;
}