if (findNamespaceIndex(declpref, decluri) < 0) { if (nss == null) { nss = new ArrayList(); int nsi = findNamespaceIndex(prefix, uri); if (nsi < 0) { if (nss == null) { if (attruri != null) { String attrpref = attr.getPrefix(); if (findNamespaceIndex(attrpref, attruri) < 0) { if (nss == null) { nss = new ArrayList(); String apref = attr.getPrefix(); if (apref != null) { index = findNamespaceIndex(apref, attr.getNamespaceURI());