You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2010/03/09 03:15:27 UTC

[jira] Resolved: (CXF-2700) Invalid method is used to get the value of the xml:lang attribute in the SOAP1.2 Text Element

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

Daniel Kulp resolved CXF-2700.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.7

> Invalid method is used to get the value of the xml:lang attribute in the SOAP1.2 Text Element
> ---------------------------------------------------------------------------------------------
>
>                 Key: CXF-2700
>                 URL: https://issues.apache.org/jira/browse/CXF-2700
>             Project: CXF
>          Issue Type: Bug
>          Components: Soap Binding
>    Affects Versions: 2.2.6
>            Reporter: s.ohtsuka
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.2.7
>
>         Attachments: soap12_getlangcode.patch
>
>
> The class org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor.Soap12FaultOutInterceptorInternal uses java.util.Locale#getDisplayLanguage() for determining the value of the xml:lang attribute of the SOAP Text Element. To get a language code, the proper method should be java.util.Locale#getLanguage().
> If this is fixed, you can set your default locale language to the xml:lang attribute by creating a non-empty resource 'org/apache/cxf/binding/soap/interceptor/Messages_<language code>.properties' in the classpath. Currently there is no way to set the value other than 'en' (default value).

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