176177178179180181182183184185186
out.open(); out.startDocument(); content.process(c2); out.endDocument(); out.close(); root = (DocumentInfo)builder.getCurrentRoot(); } catch (XPathException e) { e.maybeSetLocation(getSourceLocator());
373374375376377378379380381382383
Receiver out = controller.openResult(pipe, c2, container, action); try { content.process(c2); out.endDocument(); } catch (XPathException err) { err.setXPathContext(context); err.maybeSetLocation(getSourceLocator()); throw err; }