Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Ed Burns
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

What to say about BCP47 Support?

Created: 02/Oct/13 03:26 PM   Updated: 08/Nov/13 09:15 PM
Component/s: Documentation: Javadoc, TLDDoc, RenderkitDoc, PDF
Affects Version/s: 2.2
Fix Version/s: None

Time Tracking:
Original Estimate: 3 days
Original Estimate - 3 days
Remaining Estimate: 3 days
Remaining Estimate - 3 days
Time Spent: Not Specified
Time Spent - Not Specified

Participants: Ed Burns

 Description  « Hide

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

Sort Order: Ascending order - Click to sort in descending order
Ed Burns made changes - 08/Nov/13 09:15 PM
Field Original Value New Value
Assignee Ed Burns [ edburns ]