if (v.size() == 2 &&
((v.elementAt(0) instanceof Element &&
v.elementAt(1) instanceof Type) ||
(v.elementAt(1) instanceof Element &&
v.elementAt(0) instanceof Type))) {
Element e = null;
if (v.elementAt(0) instanceof Element) {
e = (Element)v.elementAt(0);
} else {
e = (Element)v.elementAt(1);
}
BooleanHolder forElement = new BooleanHolder();
QName eType = Utils.getTypeQName(e.getNode(), forElement, false);
if (eType != null &&
eType.equals(e.getQName()) &&
!forElement.value)
resolve = false;
}
// Other Special Case: