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

Unbalanced tags do not generate compile time error

           Summary: Unbalanced tags do not generate compile time error
           Product: Tomcat 4
           Version: 4.0.4 Final
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The following exmaple should be invalid:

  &lt;logic:notPresent name="org.apache.struts.action.MESSAGE" 
scope="application"/>
     Application resources not loaded!
  &lt;/logic:notPresent>

In this case the logic:notPresent tag is a singleton (unintended) and therefore 
should not be closed. The JSP 1.2 specification states "Action elements follow 
the syntax of an XML element.: They have a start tag including the element 
name, and may have attributes, an optional body, and a matching end tag, or 
they be an empty tag possibly with attributes...". A compile time error would 
be nice.

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

Reply via email to