"toadie D" <[EMAIL PROTECTED]> wrote on 2006-04-26 04:37:50 PM:
> We are upgrading from 2.5.1 to 2.7.0 and am seeing NPE being thrown 
> when 2.5.1 used to throw a TransformerException.
> 
> The use case is
> 
> we are using entity parameter in the XSLT .  In 2.5.1, if a 
> parameter is NOT defined but referenced, a TransformerException is 
> thrown.  But in 2.7.0, we are getting a NPE instead .  Any idea if 
> this is a confirmed
> change of behavior in 2.7.0 ? 
> 
> sample XSL snippet
> 
> <!DOCTYPE xsl:stylesheet [
>       <!ENTITY MY_ROOT_VALUE      '5'>
> ]>

I'm a bit confused by your description of the problem.  XML parameter 
entities and XSLT stylsheet parameters are not the same thing.  Could I 
ask you to provide a complete, standalone test case that we can use to 
reproduce the problem?  Please include a complete stylesheet and complete 
Java program.

Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:[EMAIL PROTECTED]

Reply via email to