if (obj instanceof DocumentInfo) {
String systemId = ((DocumentInfo)obj).getSystemId();
try {
if (systemId != null && new URI(systemId).isAbsolute()) {
DocumentPool pool = context.getController().getDocumentPool();
if (pool.find(systemId) == null) {
pool.add(((DocumentInfo)obj), systemId);
}
}
} catch (URISyntaxException err) {
// ignore it