You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by xa...@xml.apache.org on 2004/10/12 16:39:51 UTC
[jira] Reopened: (XALANJ-1976) Different behaviour between xalan and xsltc
Message:
The following issue has been reopened.
Reopener: Henry Zongaro
Date: Tue, 12 Oct 2004 7:39 AM
I guess this really represents a valid bug in the interpretive processor, so I will reopen and reassign the component.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XALANJ-1976
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XALANJ-1976
Summary: Different behaviour between xalan and xsltc
Type: Bug
Status: Reopened
Priority: Major
Project: XalanJ2
Components:
XSLTC parse/compile
Versions:
2.6
Assignee:
Reporter: Daniele Madama
Created: Mon, 11 Oct 2004 3:07 AM
Updated: Tue, 12 Oct 2004 7:39 AM
Environment: Linux with sun jdk 1.4.2_04-b05, xalan 2.6.0 builded from source
Description:
I have this difference between xalan and xsltc compilation.
I add in samples/trax/xsl/inc1/inc1.xsl the same param declared in samples/trax/xsl/foo.xsl, so now my inc1.xsl is:
<xsl:stylesheet
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
<xsl:include href="inc2/inc2.xsl"/>
<xsl:param name="a-param">default param value</xsl:param>
</xsl:stylesheet>
I simply do a transformation with xalan and all work fine, but if I try to compile a translet I got this message:
Compiler errors:
file:/home/daniele/Software/Java/lib/xalan/xalan-j_2_6_0/samples/trax/xsl/inc1/inc1.xsl: line 6: Variable 'a-param' is multiply defined in the same scope.
Is this correct? I missing somethings or this is a bug?
TIA
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org