Project

Profile

Help

Revision 0573593a

Added by Michael Kay about 1 year ago

Fix bug #4628

View differences:

latest10/hej/net/sf/saxon/om/GenericTreeInfo.java
21 21
public class GenericTreeInfo implements TreeInfo {
22 22

  
23 23
    private Configuration config;
24
    private NodeInfo root;
24
    protected NodeInfo root;
25 25
    private String systemId;
26 26
    private Map<String, Object> userData;
27 27
    private long documentNumber = -1;
latest10/hej/net/sf/saxon/tree/tiny/TinyTree.java
158 158

  
159 159
    protected PrefixPool prefixPool = new PrefixPool();
160 160

  
161
    private TinyDocumentImpl root;
161
    //private TinyDocumentImpl root;
162 162
    private HashMap<String, NodeInfo> idTable;
163 163
    protected HashMap<String, String[]> entityTable;
164 164

  
latest10/hej/net/sf/saxon/tree/util/Navigator.java
172 172
                        return null;
173 173
                    }
174 174
                    String parentSystemId = parent.getSystemId();
175
                    boolean isTopWithinEntity = false;
175
                    boolean isTopWithinEntity = false; // TODO: variable is unused. What's going on here? - MHK 2020-07-04
176 176
                    if (node instanceof TinyElementImpl) {
177 177
                        isTopWithinEntity = ((TinyElementImpl)node).getTree().isTopWithinEntity(((TinyElementImpl) node).getNodeNumber());
178 178
                    } else {

Also available in: Unified diff