cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "s.ohtsuka (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2700) Invalid method is used to get the value of the xml:lang attribute in the SOAP1.2 Text Element
Date Mon, 08 Mar 2010 17:09:27 GMT
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
            Priority: Minor


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.


Mime
View raw message