Project

Profile

Help

Revision d060c8ab

Added by Michael Kay over 1 year ago

Fix bug #4530

View differences:

latest10/hej/net/sf/saxon/expr/RootExpression.java
60 60
        if (th.isSubType(contextInfo.getItemType(), NodeKindTest.DOCUMENT)) {
61 61
            // this rewrite is important for streamability analysis
62 62
            ContextItemExpression cie = new ContextItemExpression();
63
            ExpressionTool.copyLocationInfo(this, cie);
63 64
            cie.setStaticInfo(contextInfo);
64 65
            return cie;
65 66
        }

Also available in: Unified diff