if (contextRoot != null) {
if (contextRoot.hasUnknownDependencies()) {
System.err.println("Document projection for the context document is not possible, " +
"because the query uses paths that defy analysis");
} else {
ProxyReceiver filter = config.makeDocumentProjector(contextRoot);
sourceInput = AugmentedSource.makeAugmentedSource(sourceInput);
((AugmentedSource)sourceInput).addFilter(filter);
}
} else {
System.err.println("Source document supplied, but query does not access the context item");