prefix = (String) myPrefixesMap.get(prefix);
Stack prefixes = (Stack) myPrefixesMap.get(prefix); if (prefixes != null && !prefixes.isEmpty()) { prefix = (String) prefixes.peek(); }
    private DAVElement getDAVElement(String qName) {        String prefix = null;        int index = qName.indexOf(':');        if (index >= 0) {            prefix = qName.substring(0, index);            prefix = (String) myPrefixesMap.get(prefix);            qName = qName.substring(index + 1);        }        return DAVElement.getElement(prefix, qName);            }