boolean (DomFileElement element, String namespace) { if (myNamespaceKey == null || myEqualToParent) return true; final XmlFile file = element.getFile(); return isNamespaceAllowed(namespace, getAllowedNamespaces(file)); }