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/03/14 19:04:32 UTC

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

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


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


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

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESJ-1145?page=all ]

Michael Glavassevich closed XERCESJ-1145.
-----------------------------------------

    Resolution: Fixed

> 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


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

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ 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


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

Posted by "Peter McCracken (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESJ-1145?page=all ]
     
Peter McCracken resolved XERCESJ-1145:
--------------------------------------

    Fix Version: 2.8.0
     Resolution: Fixed

> 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


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

Posted by "Peter McCracken (JIRA)" <xe...@xml.apache.org>.
     [ 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


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

Posted by "Peter McCracken (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESJ-1145?page=all ]

Peter McCracken reassigned XERCESJ-1145:
----------------------------------------

    Assign To: Peter McCracken

> 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

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


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

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESJ-1145?page=all ]

Michael Glavassevich updated XERCESJ-1145:
------------------------------------------

    Fix Version/s: 2.8.1
                       (was: 2.8.0)

> 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