Project

Profile

Help

Revision e112930c

Added by Michael Kay over 7 years ago

Fix bug 2024

View differences:

latest9.5/hej/net/sf/saxon/expr/RootExpression.java
160 160
     */
161 161
    @Override
162 162
    public int getStreamability(int syntacticContext, boolean allowExtensions, List<String> reasons) {
163
        reasons.add("Root expression '/' is free-ranging");
163
        if (reasons != null) {
164
            reasons.add("Root expression '/' is free-ranging");
165
        }
164 166
        return W3C_FREE_RANGING;
165 167
    }
166 168

  

Also available in: Unified diff