private void preloadChildren ( Iterable < Node > nodeList ) { levels . getLast ( ) . trackNodesAsWellAsValues ( true ) ; for ( Node n : nodeList ) { visited ( n ) ; } levels . getLast ( ) . trackNodesAsWellAsValues ( false ) ; }
Preload the nodes by visiting each in turn . Required for pieces of test XML whose node children can be visited out of sequence by a DifferenceEngine comparison