On 7/12/07, Niall Pemberton <[EMAIL PROTECTED]> wrote:
I don't use Struts2 - but my guess is that this is down to a single
quote being an escape character in MessageFormat:

http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.html

So its probably not a bug - just need to escape single quotes (with a
single quote) in any messages.

Well perhaps not a bug exactly, but since the ' character is valid in
properties files, and since some I8n code handles them when found in
properties files, the Struts 2 requirement of escaping them within the
.properties file could cause problems when the same .properties file
is used by multiple I8n implementations.

Josh

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

Reply via email to