myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Nicolucci (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-4174) Use Locale.forLanguageTag as defined in JSF 2.3 spec section 2.5.2.1
Date Sun, 19 Nov 2017 13:38:00 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258486#comment-16258486
] 

Paul Nicolucci commented on MYFACES-4174:
-----------------------------------------

I opened spec issue to correct the typo in the JSF 2.3 spec here: https://github.com/javaee/javaserverfaces-spec/issues/1460

> Use Locale.forLanguageTag as defined in JSF 2.3 spec section 2.5.2.1
> --------------------------------------------------------------------
>
>                 Key: MYFACES-4174
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4174
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.3.0-beta
>            Reporter: Eduardo Breijo
>            Assignee: Eduardo Breijo
>            Priority: Minor
>         Attachments: MYFACES-4174.patch
>
>
> We need to use the Locale.forLanguage tag method to as defined in the JSF 2.3 spec section
2.5.2.1.
> "To facilitate BCP 47 support, the Locale parsing mentioned above is done only if the
JDK Locale.languageForTag method does not return a Locale with a language in it. The additional
format of the Locale string is as specified by that method."



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message