[ http://issues.apache.org/jira/browse/XALANJ-2058?page=all ]

Brian Minchau updated XALANJ-2058:
----------------------------------

    Fix Version: 2.7
                     (was: CurrentCVS)

> Illegal local variable number in Xalan 2.6 and incorrect output with latest 
> from CVS
> ------------------------------------------------------------------------------------
>
>          Key: XALANJ-2058
>          URL: http://issues.apache.org/jira/browse/XALANJ-2058
>      Project: XalanJ2
>         Type: Bug
>   Components: XSLTC
>     Versions: 2.6, CurrentCVS
>  Environment: Windows 2000 Eclipse 2.1.3
>     Reporter: Yash Talwar
>     Assignee: Yash Talwar
>      Fix For: 2.7
>  Attachments: XalanJ2058_Patch.txt
>
> When importing a stylesheet using xsl:import element, incorrect behavior is 
> seen.
> Input.xml
> --------------------------
> <?xml version="1.0"?>
> <count>
> <ONE/> 
> <TWO/> 
> <THREE/> 
> </count> 
> --------------------------
> Apply_Imports.xsl
> --------------------------
> <?xml version="1.0"?>
> <xsl:stylesheet version = '1.0' 
> xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
> <xsl:import href="apply_imports_adnl.xsl"/> 
> <xsl:template match="/*/*"> 
> <EM> 
> <xsl:apply-imports/> 
> </EM> 
> </xsl:template>
> </xsl:stylesheet>
> --------------------------
> Apply_imports_adnl.xsl
> --------------------------
> <?xml version="1.0"?>
> <xsl:stylesheet version = '1.0' 
> xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
> <xsl:template match="/*/*"> 
> <DIV style="color:blue"> 
> <xsl:value-of select="name()"/> 
> </DIV> 
> </xsl:template>
> </xsl:stylesheet> 
> --------------------------
> +++++++++++++
> When using Xalan Interpretive, the following output is seen.  This is correct 
> output.
> <?xml version="1.0" encoding="UTF-8"?>
> <EM><DIV style="color:blue">ONE</DIV></EM> 
> <EM><DIV style="color:blue">TWO</DIV></EM> 
> <EM><DIV style="color:blue">THREE</DIV></EM> 
> +++++++++++++
> When using XSLTC, (Xalan 2.6.0), the following error occurs:
> (Location of error unknown)XSLT Error (java.lang.VerifyError): (class: 
> apply_imports, method: applyTemplates_2 signature: 
> (Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;)V)
>  Illegal local variable number
> java.lang.RuntimeException: (class: apply_imports, method: applyTemplates_2 
> signature: 
> (Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;)V)
>  Illegal local variable number
>       at org.apache.xalan.xslt.Process.doExit(Process.java:1099)
>       at org.apache.xalan.xslt.Process.main(Process.java:1072)
> Exception in thread "main" 
> +++++++++++++
> When using XSLTC (Xalan CurrentCVS), the following output is seen.  This is 
> incorrect output.
> <?xml version="1.0" encoding="UTF-8"?>
> <EM><DIV style="color:blue">count</DIV></EM> 
> <EM><DIV style="color:blue">count</DIV></EM> 
> <EM><DIV style="color:blue">count</DIV></EM> 
> +++++++++++++
> It appears that problem is partialy fixed in CurrentCVS version.  A complete 
> fix is needed.  The output from XSLTC must be identical to the output seen in 
> Xalan Interpretive.
> Yash Talwar.

-- 
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