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

Erroneous trim in doAfterBody of MultiboxTag

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From [EMAIL PROTECTED]  2003-11-15 22:44 -------
Actually, the trimming should remain in place.  It's quite likely that people 
have used the tag like this:
<html:multibox>
      <c:out value="${myval}"/>
</html:multibox>

The user expects the tag to trim the whitespace and use the value output from 
<c:out>.  Changing this may break existing applications.

This is just one reason that using whitespace in database keys is an 
exceptionally bad idea.  Others include:
1. Are these 2 keys the same?
mykey
mykey 

Maybe, depending on if you know that whitespace is allowed at the end of the 
key.

2.  Table joins are typically faster when performed on INTEGER columns rather 
than CHAR columns.

3.  XML processors are allowed to trim leading and trailing whitespace.

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

Reply via email to