[ 
https://issues.apache.org/jira/browse/CXF-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cyrille Le Clerc updated CXF-2675:
----------------------------------

    Description: 
[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 
contain non doubled single quotes like :
{noformat}
INSTRUMENTATION_REGISTER_FAULT_MSG=Can't register counter with object name {0}. 
{1}
{noformat}


  was:
[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.



> 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 
> contain non doubled single quotes like :
> {noformat}
> INSTRUMENTATION_REGISTER_FAULT_MSG=Can't register counter with object name 
> {0}. {1}
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to