Project

Profile

Help

Revision 078b4011

Added by Michael Kay almost 8 years ago

Fix bug 2005

View differences:

latest9.5/hej/net/sf/saxon/expr/instruct/GeneralVariable.java
463 463

  
464 464
    public Sequence getSelectValue(XPathContext context) throws XPathException {
465 465
        if (select==null) {
466
            throw new AssertionError("*** No select expression!!");
466
            throw new XPathException("Internal error: No select expression", this);
467 467
            // The value of the variable is a sequence of nodes and/or atomic values
468 468

  
469 469
        } else {

Also available in: Unified diff