final String src = params.remove("src"); if (name != null && name.length() != 0 && src != null && src.length() != 0) pgdef.addTemplateInfo(new TemplateInfo(null, name, src, params, null)); } else { log.warn(message("Unknown processing instruction: " + target, pi));