You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2007/05/19 08:52:54 UTC
DO NOT REPLY [Bug 42456] New: - JspC fails to generate valid code with TLD java.lang.String[]
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: tomcat-dev@jakarta.apache.org
ReportedBy: paul4christ79@yahoo.com
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org