[ 
http://issues.apache.org/jira/browse/XALANJ-1862?page=comments#action_64443 ]
     
Brian Minchau commented on XALANJ-1862:
---------------------------------------

It is not clear if XSLTC was intended to support extension functions and the 
interaction with xsl:param. Are arbitrary objects intened to be supported or 
just a limited set.

Not sure if this is a real problem, or the use of XSLTC in a way that was not 
intended.
Ramesh M. has agreed to look into this, if there is an architectural issue that 
XSLTC did not intend to support this, then we will return this as "won't fix". 
This was discussed at the Xalan-J issue meeting on May 3, 2005.


> XSLTC fails when compiling a stylesheet using java extension functions
> ----------------------------------------------------------------------
>
>          Key: XALANJ-1862
>          URL: http://issues.apache.org/jira/browse/XALANJ-1862
>      Project: XalanJ2
>         Type: Bug
>   Components: XSLTC
>     Versions: 2.5
>  Environment: Operating System: Windows NT/2K
> Platform: PC
>     Reporter: Edward Gillespie
>     Assignee: Xalan Developers Mailing List
>     Priority: Critical
>  Attachments: xstlc_compile_problem.txt
>
> The stylesheet in question uses java extension functions.  Also passed into 
> the
> stylesheet is a HashMap which is used to pass through to the extension 
> function
> method.   The behavior is the same for both smart and xsltc.
> Here is the error.
> java.lang.NullPointerException
> org.apache.xalan.xsltc.compiler.CastExpr.translateDesynthesized(CastExpr.java:227)
> org.apache.xalan.xsltc.compiler.If.translate(If.java:99)
> org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java(Compiled
> Code))
> org.apache.xalan.xsltc.compiler.Template.translate(Template.java:335)
> org.apache.xalan.xsltc.compiler.TopLevelElement.compile(TopLevelElement.java:56)
> org.apache.xalan.xsltc.compiler.Mode.compileNamedTemplate(Mode.java:572)
> org.apache.xalan.xsltc.compiler.Mode.compileTemplates(Mode.java:589)
> org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java(Compiled 
> Code))
> org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:580)
> org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java:695)
> org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:335)
> org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:410)
> org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:720)
> org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl.newTemplates(SmartTransformerFactoryImpl.java:252)

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to