mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-20 20:19:32 +00:00
ICU-3186 calculate 'x' for draft locales properly
X-SVN-Rev: 16364
This commit is contained in:
parent
907c598ac5
commit
e8563c3d34
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,7 @@ public class LDML2ICUConverter {
|
|||
ICUResourceWriter.ResourceString str = new ICUResourceWriter.ResourceString();
|
||||
str.val = LDMLUtilities.getAttributeValue(node, LDMLConstants.NUMBER);
|
||||
str.name = (String)keyNameMap.get(LDMLConstants.VERSION);
|
||||
if(LDMLUtilities.isNodeDraft(root)) { // x for experimental
|
||||
if(LDMLUtilities.isDraft(root,new StringBuffer("//ldml"))) { // x for experimental
|
||||
str.val = "x" + str.val;
|
||||
}
|
||||
res = str;
|
||||
|
|
Loading…
Add table
Reference in a new issue