-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dave,

On 4/20/2011 6:46 PM, Dave Newton wrote:
> I'd play with the MessageFormat Javadocs:
> 
>> Within a String, "''" represents a single quote. A QuotedString can contain 
>> arbitrary
>> characters except single quotes; the surrounding single quotes are removed. 
>> An
>> UnquotedString can contain arbitrary characters except single quotes and 
>> left curly
>> brackets. Thus, a string that should result in the formatted message "'{0}'" 
>> can be
>> written as "'''{'0}''" or "'''{0}'''".
> 
> I'd try some combinations of that; I recall having a similar issue at
> one point but don't remember what finally resolved it.

Thanks for the reply... we're trying things like that, but reading the
"escape" code in MessageResources, it looks like any number of
single-quote characters will be doubled, so I can't escape the escaping. :(

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2wPmkACgkQ9CaO5/Lv0PDvRgCeL+L+q+WngX02RAX70FeGucw+
ZsUAnRoXF2z6TKCChD+sMQKXIVkj/b5D
=bG0s
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to