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 02:35:27 UTC
[jira] Assigned: (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 reassigned CXF-2700:
--------------------------------
Assignee: Daniel Kulp
> 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
> 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.