Project

Profile

Help

Revision 2f2784bb

Added by Michael Kay about 1 year ago

Fix bug #4552

View differences:

latest10/hej/net/sf/saxon/expr/Expression.java
936 936
    public void process(Outputter output, XPathContext context) throws XPathException {
937 937
        int m = getImplementationMethod();
938 938

  
939
        if ((m & EVALUATE_METHOD) != 0) {
939
        if ((m & EVALUATE_METHOD) != 0 && !Cardinality.allowsMany(getCardinality())) {
940 940
            Item item = evaluateItem(context);
941 941
            if (item != null) {
942 942
                output.append(item, getLocation(), ReceiverOption.ALL_NAMESPACES);

Also available in: Unified diff