[JAVASERVERFACES_SPEC_PUBLIC-1225] What to say about BCP47 Support? Created: 02/Oct/13  Updated: 17/Sep/15  Resolved: 17/Sep/15

Status: Resolved
Project: javaserverfaces-spec-public
Component/s: Documentation: Javadoc, TLDDoc, RenderkitDoc, PDF
Affects Version/s: 2.2
Fix Version/s: 2.3

Type: Bug Priority: Critical
Reporter: Ed Burns Assignee: Manfred Riem
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 3 days
Time Spent: Not Specified
Original Estimate: 3 days

Issue Links:
Duplicate
is duplicated by JAVASERVERFACES_SPEC_PUBLIC-1210 Account for BCP47 Closed
Related
is related to JAVASERVERFACES_SPEC_PUBLIC-1245 Section "Determining the active Local... Resolved

 Description   

BCP47 defines new rules for the parsing of Locale objects. These rules are implemented in the java.util.Locale class in JDK7. There are several places in the JSF spec that place requirements on how a Locale is encoded as a String.

  • XSD for supported-locale
  • XSD for default-locale
  • Spec section "2.5.2.1 Determining the Active Locale" in the portion of that section that deals with the locale attribute on the <f:view> tag.

In all of these places statements are made regarding the use of "-" or "_" as a separator. This issue asks if we should go further and require the use of JDK7 Locale.forLanguageTag() to obtain the Locale instance before trying the existing methods of obtaining a Locale.



 Comments   
Comment by Ed Burns [ 01/Aug/14 ]

Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

Comment by Manfred Riem [ 01/Aug/14 ]

Setting priority to Critical

Comment by Manfred Riem [ 17/Sep/15 ]

Applied to 2.3 trunk,

svn commit -m "Fixes https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1225, What to say about BCP47 Support?"
Sending spec/frame/requestProcessingLifecycle.fm
Transmitting file data .
Committed revision 1172.

Comment by Manfred Riem [ 17/Sep/15 ]

Applied to 2.3 trunk,

git commit -m Fixes https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1225, What to say about BCP47 Support?

Commit Log
revision : cfea96318ea1b8de2615e7a450860fa7b017ae86
author : Manfred Riem <manfred.riem@oracle.com>
date : Sep 17, 2015 8:25:59 AM
summary : Fixes https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1225, What to say about BCP47 Support?

Generated at Sun Sep 25 19:49:30 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.