Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.8, 2.1.9
-
None
-
Patch available
Description
The TraversableGenerator first calls resolver.resolveURI() to get a Source and check whether it is a TraversableSource. If this is true, it call resolver.resolveURI() again and assigns the result to a TraversableSource, which is never released.
The included patch modifies the behaviour so the second call the resolver.resolveURI() is replaced with a cast to TraversableSource on the Source that was retrieved earlier.
The included patch modifies the behaviour so the second call the resolver.resolveURI() is replaced with a cast to TraversableSource on the Source that was retrieved earlier.