You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Abhijeet Singh (Jira)" <ji...@apache.org> on 2023/12/20 11:33:00 UTC

[jira] [Created] (XALANJ-2720) tranform function in TransformerIdentityImpl resetting content handler

Abhijeet Singh created XALANJ-2720:
--------------------------------------

             Summary: tranform function in TransformerIdentityImpl resetting content handler
                 Key: XALANJ-2720
                 URL: https://issues.apache.org/jira/browse/XALANJ-2720
             Project: XalanJ2
          Issue Type: Bug
      Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects.  Anybody can view the issue.)
          Components: SAX
            Reporter: Abhijeet Singh
            Assignee: Gary D. Gregory


In the commit: [https://github.com/apache/xalan-java/commit/b03ee965878f7cc62d4ae8a8d9dd0a28acf01fab]

changes were made to reset the content handler to the old content handler after doing the parse operation while earlier the ContentHandler was set to TransformerIdentityImpl permanently in the tranform(Source, Result) function, this is because the setting old content handler is being done in the finally block.

I am getting a null pointer exception for content handler now as it was automatically set to Tansformer IdentityImpl.

Is this intended behaviour? If not please provide a new release with the fix.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org