Summary: | fmt:message + fmt:param tag chokes when the value contains single quotes | ||
---|---|---|---|
Product: | Taglibs | Reporter: | peter lin <woolfel> |
Component: | Standard Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
peter lin
2002-11-15 13:44:19 UTC
This is not a bug in JSTL, but a peculiarity of how a single quote is interpreted by java.text.MessageFormat. For more details, you may want to check bug reports 4293229 and 4321513 in the java bug database (http://developer.java.sun.com/developer/bugParade). The simple rule is as follows: If there is a {0} placeholder in a message string, single quotes have to be doubled. -- Pierre |