Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Unassigned
   Priority: Major

    Project: XalanJ2
 Components: 
             XSLTC parse/compile
   Versions:
             2.6

   Assignee: 
   Reporter: Daniele Madama

    Created: Mon, 11 Oct 2004 3:07 AM
    Updated: Mon, 11 Oct 2004 3:07 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to