Project

Profile

Help

Revision 525b0c58

Added by Michael Kay about 1 year ago

Fix bug #4556

View differences:

latest10/hej/net/sf/saxon/type/NumericType.java
103 103
     */
104 104

  
105 105
    public static boolean isNumericType(ItemType type) {
106
        return type instanceof AtomicType &&
107
                !type.equals(BuiltInAtomicType.ANY_ATOMIC)
108
                && type.getUType().overlaps(getInstance().getUType());
106
        return type.isPlainType() &&
107
                UType.NUMERIC.subsumes(type.getUType());
109 108
    }
110 109

  
111 110
    /**

Also available in: Unified diff