An ArrayIndexOutOfBounds exception can occur in method
hasChildNodes() of class tinytree.ParentNodeImpl. It
happens when the node being tested is the last node in
the document and the number of nodes in the document
exactly matches the size of array that has been
allocated (typically 4000 entries, or some multiple
Reported by Nikos Markantonatos [email@example.com]
Present in 6.5.1, 7.0, and all known earlier versions
(since 6.0, when the tinytree was introduced).
Source code fixed in both branches. Not tested, due to
the difficulty of creating a test document of exactly
the right size.