-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
6
-
other
-
solaris
ConvertLocaleData tool needs to be modified to be compatible with CLDR1.4, which will be released in July 2006.
--- Below is the comment from Peter Nugent-------
CLDR 1.4 is to be released this month. There are a few changes you should know about and for which you will have to make modifications your tool :
/net/jano.sfbay/export/disk12/i18n/ws/ConvertLocaleData
the changes are as follows :
Data for minDays, firstDay and measurementSystem have been deprecated in the main locale data files in http://unicode.org/cldr/data/common/main (and hence ldml.dtd) moved to http://unicode.org/cldr/data/common/supplemental/supplementalData.xml.
This is because this data is not locale dependent. These elements are still in ldml.dtd for backwards compatability but are commented as being deprecated and should not be used. All data is now in supplementalData.xml so you will not be able to retrieve it from its old location.
BTW, Metadata on deprecated items in ldml.dtd is stored in :
http://unicode.org/cldr/data/common/supplemental/supplementalMetadata.xml
(look for <deprecated>)
I have a class for reading supplementalData for OO.o which you might be able to use :
http://unicode.org/cldr/data/tools/java/org/unicode/cldr/ooo/supplementalData.java
if using jdk 1.5.0 or later, you will need xalan.jar in your classpath as this class uses XPathAPI.
--- Below is the comment from Peter Nugent-------
CLDR 1.4 is to be released this month. There are a few changes you should know about and for which you will have to make modifications your tool :
/net/jano.sfbay/export/disk12/i18n/ws/ConvertLocaleData
the changes are as follows :
Data for minDays, firstDay and measurementSystem have been deprecated in the main locale data files in http://unicode.org/cldr/data/common/main (and hence ldml.dtd) moved to http://unicode.org/cldr/data/common/supplemental/supplementalData.xml.
This is because this data is not locale dependent. These elements are still in ldml.dtd for backwards compatability but are commented as being deprecated and should not be used. All data is now in supplementalData.xml so you will not be able to retrieve it from its old location.
BTW, Metadata on deprecated items in ldml.dtd is stored in :
http://unicode.org/cldr/data/common/supplemental/supplementalMetadata.xml
(look for <deprecated>)
I have a class for reading supplementalData for OO.o which you might be able to use :
http://unicode.org/cldr/data/tools/java/org/unicode/cldr/ooo/supplementalData.java
if using jdk 1.5.0 or later, you will need xalan.jar in your classpath as this class uses XPathAPI.
- duplicates
-
JDK-6455680 Update locale data derived from CLDR1.3 to CLDR1.4
- Resolved