I just downloaded the String Tag Lib 1.0 binaries and started using the
wordWrap functionality.

It seems to be blowing up if the tag attempts to wrap a string that
contains a newline character as the 81st character. It will not blow up
if the 81st character is not a new line character.

This is my usage:
<string:wordWrap><bean:write name="form" property="body"
ignore="true"/></string:wordWrap>

Partial stack trace:
2120: java.lang.StringIndexOutOfBoundsException: String index out of range:
80
2120:   at java.lang.String.charAt(String.java:455)
2120:   at org.apache.taglibs.string.util.StringW.wordWrap(StringW.java:181)
2120:   at
org.apache.taglibs.string.WordWrapTag.changeString(WordWrapTag.java:159)
2120:   at
org.apache.taglibs.string.StringTagSupport.doEndTag(StringTagSupport.java:13
5)

Has anyone else had this problem. I search bugzilla and didn't find any bugs
mentioned.


robert


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

Reply via email to