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 "Peter McCracken (JIRA)" <xe...@xml.apache.org> on 2006/04/10 17:38:02 UTC

[jira] Closed: (XERCESJ-1145) XInclude: NPE thrown when checking for recursive includes

     [ http://issues.apache.org/jira/browse/XERCESJ-1145?page=all ]
     
Peter McCracken closed 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
>         Type: Bug

>   Components: XInclude 1.0
>     Versions: 2.8.0
>     Reporter: Peter McCracken
>     Assignee: Peter McCracken
>      Fix For: 2.8.0

>
> 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