You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Cyrille Le Clerc (JIRA)" <ji...@apache.org> on 2010/02/15 20:19:28 UTC

[jira] Resolved: (CXF-2675) Single quotes must be doubled in message formats (ie in Message.properties resource bundles)

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

Cyrille Le Clerc resolved CXF-2675.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3
                   2.2.7

> 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
>             Fix For: 2.2.7, 2.3
>
>
> [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.