From ceda861386e0701ae053239a3d829656b6c2d8d0 Mon Sep 17 00:00:00 2001 From: btangmu Date: Tue, 3 Oct 2023 17:00:12 -0400 Subject: [PATCH] CLDR-17063 CLDRModify -fQ keyword draft-status bug fix, use fullpath -CLDRModify.CLDRFilter.replace requires fullpath, otherwise draft-status is lost --- .../src/main/java/org/unicode/cldr/tool/CLDRModify.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/cldr-code/src/main/java/org/unicode/cldr/tool/CLDRModify.java b/tools/cldr-code/src/main/java/org/unicode/cldr/tool/CLDRModify.java index 9514b2fcbb1..2fd3371b102 100644 --- a/tools/cldr-code/src/main/java/org/unicode/cldr/tool/CLDRModify.java +++ b/tools/cldr-code/src/main/java/org/unicode/cldr/tool/CLDRModify.java @@ -2118,7 +2118,8 @@ private void rememberKeywordPaths(String xpath) { String type = parts.getAttributeValue(2, "type"); if (type == null) { // not type="tts" String cp = parts.getAttributeValue(2, "cp"); - keywordPaths.put(cp, xpath); + keywordPaths.put( + cp, fullpath /* not xpath; preserve status="..." */); } } }