cmp = compareLists(processingInstructionNodeStep1.getPredicates(), processingInstructionNodeStep2.getPredicates());
}
}
break;
case TYPE_RELATIONAL_EXPR:
RelationalExpr relationalExpr1 = (RelationalExpr)o1;
RelationalExpr relationalExpr2 = (RelationalExpr)o2;
cmp = relationalExpr1.getOperator().compareTo(relationalExpr2.getOperator());
if (cmp == 0)
{
cmp = compare(relationalExpr1.getLHS(), relationalExpr2.getLHS());
if (cmp == 0)
{
cmp = compare(relationalExpr1.getRHS(), relationalExpr2.getRHS());
}
}
break;
case TYPE_TEXT_NODE_STEP:
TextNodeStep textNodeStep1 = (TextNodeStep)o1;