You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Steven J. Hathaway (Closed) (JIRA)" <xa...@xml.apache.org> on 2011/12/10 04:56:40 UTC

[jira] [Closed] (XALANC-429) Can not evaluate params/variables from a "TraceListener" event during the transformation process.

     [ https://issues.apache.org/jira/browse/XALANC-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven J. Hathaway closed XALANC-429.
-------------------------------------

    Resolution: Won't Fix

References obsolete version.  Some functionality of parameter management has been reworked.
                
> Can not evaluate params/variables from a "TraceListener" event during the transformation process.
> -------------------------------------------------------------------------------------------------
>
>                 Key: XALANC-429
>                 URL: https://issues.apache.org/jira/browse/XALANC-429
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: 1.8
>         Environment: Operating System: Solaris
> Platform: Other
>            Reporter: Philip IPS
>
> I am using the Xalan C++ API in a real-time financial application which need to 
> apply XSLT transformations on XML input messages received on-the-fly.
> On the process output, I get the transformed output XML.
> In the XSLT stylesheet, I defined several templates which take input parameters 
> (like function calls) and I also defined global XSL variables.
> For security reasons, I need to log everything. I use the "XalanTransformer" 
> object to make the transformation and I implemented the "TraceListener" object 
> to log most of the parser/transformer events.
> I am pretty happy with this but I have the following problem :
> I did not find any way to display the parameters or global variables values 
> during the transforming.
> I know that a "StylesheetExecutionContext" object implements the "getVariable
> ()" and "getParamVariable()" methods which should allow to do this.
> Unfortunately, the "StylesheetExecutionContext" provided in the "TracerEvent" 
> and "SelectionEvent" only provide a "const" instance of 
> the "StylesheetExecutionContext" object which help from calling the "getVariable
> ()" and "getParamVariable()" methods which are not "const".
> => The API does not allow to call "getVariable()" and "getParamVariable()" in 
> a "TraceListener" callback event.
> It would be a good enhancement for us if you allowed us calling these functions 
> from a "TraceListener" event so we are able to log all the variable and 
> parameters values during the transformation processes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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