The getBaseURI() method, when getting the base URI of a
node in a DOM or JDOM tree, loops infinitely. This
method is most likely to be called when the document()
function is used to resolve a relative URI held in a
node in the DOM/JDOM tree.
The problem is present in 8.0 and probably in previous
Source code fixed.