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

A body tag without a body doesn't generate correct JSP code

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX
            Summary|A body tag without a body   |A body tag without a body
                   |doesn't generate correct JSP|doesn't generate correct JSP
                   |code                        |code



------- Additional Comments From [EMAIL PROTECTED]  2002-03-29 21:23 -------
In a xml document, <tag ... /> and <tag ...></tag> both represent an empty
element and are syntatically equivalent (see
http://www.w3.org/TR/REC-xml#NT-ETag).  I doubt that you can use the first form
as a workaround to your problm, while the second form fails.  In both cases,
doAfterBody will not be invoked, for an empty tag.

A easy workaround is to insert a space or '\n' between the Stag and Etag:

        <custom:input type="submit" value="click me"> </custom:input>
or
        <custom:input type="submit" value="click me">
        </custom:input>

BTW, why can't you use doEnTag instead of doAfterBody for empty tags?

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

Reply via email to