ExpressionTool.copyLocationInfo(this, vc);
return visitor.optimize(visitor.typeCheck(visitor.simplify(vc), contextItemType), contextItemType);
}
final String defaultCollationName = env.getDefaultCollationName();
StringCollator comp = env.getCollation(defaultCollationName);
if (comp == null) {
comp = CodepointCollator.getInstance();
}
BuiltInAtomicType pt0 = (BuiltInAtomicType)t0.getPrimitiveItemType();
BuiltInAtomicType pt1 = (BuiltInAtomicType)t1.getPrimitiveItemType();