Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.8.0
-
None
Description
In XIncludeHandler's searchForRecursiveIncludes(), if the provided XMLLocator returns null for both getExpandedSystemId() and getLiteralSystemId(), an NPE will be thrown at the line:
if (includedSystemId.equals(fCurrentBaseURI.getExpandedSystemId())) {
Instead, if no location information is available, a more informative error or warning should be thrown to indicate that searching for recursive includes is not possible. In such a case, the method searchForRecursiveIncludes() should return false to allow processing to continue.