Single quotes must be doubled in message formats (ie in Message.properties
resource bundles)
--------------------------------------------------------------------------------------------
Key: CXF-2675
URL: https://issues.apache.org/jira/browse/CXF-2675
Project: CXF
Issue Type: Bug
Components: Core
Affects Versions: 2.2.6
Reporter: Cyrille Le Clerc
Assignee: Cyrille Le Clerc
[MessageFormat|http://java.sun.com/javase/6/docs/api/java/text/MessageFormat.html]
javadocs states that single quotes must be doubled :
{quote}
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\}'''".
{quote}
Currently, most many messages in {{Messages.properties}} resource bundles are
contain non doubled single quotes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.