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=17406>.
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=17406

Code generation issue when using providing namespaced attributes for jsp:element in a 
JSP document

           Summary: Code generation issue when using providing namespaced
                    attributes for jsp:element in a JSP document
           Product: Tomcat 5
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Consider the following:
---------------------------------------------------------------------
<root xmlns:jsp="http://java.sun.com/JSP/Page";>
    <jsp:directive.page contentType="text/plain" />

    <jsp:element name="test">
        <jsp:attribute name="test:status">passed</jsp:attribute>
        <jsp:body>Test PASSED</jsp:body>
    </jsp:element>
</root>
---------------------------------------------------------------------

The result is the following compile error returned from Jasper:

<error>
   [javac]
/files/j2eesrc/j2eepreint1.4fcs/j2ee13/build/unix/web/repository/Standard-Engine/localhost/jsp_core_act_attribute_web/JspAttributeQNameTest3_jspx.java:45:
')' expected
     [java]     [javac]       out.write("</"null + ">");
     [java]     [javac]                     ^
     [java]     [javac] 1 error
</error>

This JSP document ran successfully in previous builds.

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

Reply via email to