if (firstColon != lastColon) { return qname.substring(0, firstColon) + qname.substring(lastColon);
final String prefix = qname.substring(0, firstColon); final String localName = qname.substring(lastColon + 1);   final String uri = lookupNamespace(prefix); if (uri != null && uri.length() == 0) { return localName; } else if (firstColon != lastColon) { return prefix + ':' + localName;
    protected static String patchName(String qname) throws TransletException {        final int lastColon = qname.lastIndexOf(':');        if (lastColon > 0) {            final int firstColon = qname.indexOf(':');            if (firstColon != lastColon) {                return qname.substring(0, firstColon) + 		    qname.substring(lastColon);            }        }        return qname;    }