You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2006/09/08 19:58:22 UTC
[jira] Reopened: (XERCESJ-1145) XInclude: NPE thrown when checking
for recursive includes
[ http://issues.apache.org/jira/browse/XERCESJ-1145?page=all ]
Michael Glavassevich reopened XERCESJ-1145:
-------------------------------------------
> XInclude: NPE thrown when checking for recursive includes
> ---------------------------------------------------------
>
> Key: XERCESJ-1145
> URL: http://issues.apache.org/jira/browse/XERCESJ-1145
> Project: Xerces2-J
> Issue Type: Bug
> Components: XInclude 1.0
> Affects Versions: 2.8.0
> Reporter: Peter McCracken
> Assigned To: Peter McCracken
> Fix For: 2.8.1
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org