[
https://issues.apache.org/jira/browse/XALANC-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steven J. Hathaway resolved XALANC-517.
---------------------------------------
Resolution: Won't Fix
Old Issue - The problem listener interface has been reworked since this issue
was submitted.
> Probelm listener not called with stylesheet errors
> --------------------------------------------------
>
> Key: XALANC-517
> URL: https://issues.apache.org/jira/browse/XALANC-517
> Project: XalanC
> Issue Type: Bug
> Components: XalanC
> Affects Versions: 1.9
> Environment: windows xp sp2, intel mobile pentium
> Reporter: Davd Hubbard
>
> Using xalan 1.7 and 1.9 I have added a problem listener and it is never
> called. The code to add is shown below with a small test to check if my
> listener is installed.
> err = new KXMLErrorHandler();
> problem = new MyProblemListener();
> fXSLProcessor.setProblemListener( (ProblemListener *) problem );
> fXSLProcessor.setErrorHandler( err );
> retProblem = fXSLProcessor.getProblemListener();
> if ( retProblem != (ProblemListener*) problem )
> {
> int t=0;
> t++;
> }
>
> I am using the XalanTransformerProblemListener code for MyProblemListener and
> the method problem is never called. A snippet of the error stylesheet is
> shown below:
> <xsl:template match="llnode">
> <!-- xsl error add node name to attribute -->
> <li><b><xsl:value-of select="llnode@name"/></b></li>
> <ul>
> <li>Created by <i><xsl:value-of
> select="@createdbyname"/></i></li>
> </ul>
> </xsl:template>
> The xml node, llnode, has the attributes name and created by name. When I
> transform the code using xalan.exe the error is reported, but in my
> application the error is never reported. I have also used xalanc 1.9 and get
> the same results.
--
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: [email protected]
For additional commands, e-mail: [email protected]