DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42456>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42456

           Summary: JspC fails to generate valid code with TLD
                    java.lang.String[]
           Product: Tomcat 6
           Version: 6.0.10
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have a tag library with this attribute definition in the TLD:

<attribute>
  <name>emphasis</name>
  <required>false</required>
  <rtexprvalue>true</rtexprvalue>
  <type>java.lang.String[]</type>
  <description>description</description>
</attribute>

The JSP will compile if running inside of Tomcat, but I am using the
jspc-maven-plugin to execute JspC during my build, and it will not produce valid
Java code:

Embedded error: Unable to compile class for JSP

An error occurred at line: 6 in the jsp file: /a.jsp
Generated servlet error:
Syntax error on token "[", delete this token

An error occurred at line: 6 in the jsp file: /a.jsp
Generated servlet error:
Syntax error on token ";", delete this token

An error occurred at line: 6 in the jsp file: /a.jsp
Generated servlet error:
Syntax error, insert ")" to complete Expression

An error occurred at line: 6 in the jsp file: /a.jsp
Generated servlet error:
Syntax error on token ";", delete this token

An error occurred at line: 6 in the jsp file: /a.jsp
Generated servlet error:
Syntax error, insert "]" to complete Expression

An error occurred at line: 6 in the jsp file: /a.jsp
Generated servlet error:
Syntax error on token ")", delete this token

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to