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

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

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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "s.ohtsuka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

s.ohtsuka updated CXF-2700:
---------------------------

    Attachment: soap12_getlangcode.patch

Attached a patch.

> 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
>         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.