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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13575

Parser.parseAttribute() can report unknown error "jsp.error.attribute.noequal"

           Summary: Parser.parseAttribute() can report unknown error
                    "jsp.error.attribute.noequal"
           Product: Tomcat 4
           Version: 4.1.10
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I managed to leave off a double quote at the end of an attribute value on a JSP
page.  When I executed it, I got the following root cause:

org.apache.jasper.JasperException: /html-button.jsp(31,47)
jsp.error.attribute.noequal
        at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
        at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:417)
        at 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)

The error code appears to be unsubstituted with the english message.  Looking in
the code, it's clear that this was reported because it couldn't find an equals
sign (the missing quote just got it lost, I guess).

In the "messages.properties" file in the Jasper tree, there are message keys
close to this key, like "jsp.error.attr.quoted" and "jsp.error.attr.novalue",
but no "jsp.error.attribute.noequal".

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

Reply via email to