Change Log for JSR-000252 JavaServerTM Faces 1.2 Specification Errata [Rev B]

This page details the proposed, accepted and deferred changes to JSR 252, documenting the changes that will go into the next revision, per Section 4.2 of the JCP 2.6 document.

Last updated: 20080324

PROPOSED CHANGES
ID Category Description
C001 errata

Java locale has 3 components: language, country & variant. The JSF 1.2 schema (web-facesconfig_1_2.xsd) documentation correctly states the handling of these:
    The "supported-locale" element allows authors to declare which locales are supported
    in this application instance. It must be specified as :language:[_:country:[_:variant:]]
    without the colons, for example "ja_JP_SJIS". The separators between the segments may be '-' or '_'.

However, the schema pattern definition for faces-config-localeType is:
    [a-z]{2}(_|-)?([\p{L}\-\p{Nd}]{2})?
which only supports the language_COUNTRY format.
The correct pattern should be:
     ([a-z]{2})[_|\-]?([\p{L}]{2})?[_|\-]?([\w]+)?

Update the faces-config-localeType regular expression accordingly.

Justification:

The documentation describes the correct locale pattern. The pattern in the schema document is incorrect.

Issue 343

ACCEPTED CHANGES
 
DEFERRED CHANGES