[ http://issues.apache.org/jira/browse/XALANJ-1862?page=all ]
Brian Minchau updated XALANJ-1862:
----------------------------------
Version: 2.5
(was: Latest Development Code)
> 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]