XPointerContext context = new XPointerContext(xpointer, url, subPipe, manager);
for (Iterator iter = namespaces.keySet().iterator(); iter.hasNext();) {
String prefix = (String) iter.next();
context.addPrefix(prefix, (String) namespaces.get(prefix));
}
xptr.process(context);
} else {
SourceUtil.toSAX(manager, url, new IncludeXMLConsumer(subPipe));
}
// restore locator on the consumer
if (locator != null)