Project

Profile

Help

Revision 07dd03e5

Added by Michael Kay about 11 years ago

Fix bug 3072122 xsl:namespace name="{$var}"

View differences:

latest9.2/hej/net/sf/saxon/instruct/NamespaceConstructor.java
65 65
        super.promoteInst(offer);
66 66
    }
67 67

  
68
    public void localTypeCheck(ExpressionVisitor visitor, ItemType contextItemType) {}
68
    public void localTypeCheck(ExpressionVisitor visitor, ItemType contextItemType) throws XPathException {
69
        visitor.typeCheck(name, contextItemType);
70
    }
69 71

  
70 72
    public Iterator<Expression> iterateSubExpressions() {
71 73
        ArrayList list = new ArrayList(6);

Also available in: Unified diff