mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-2055 fix a bug which lets messages being printed even when marked draft
X-SVN-Rev: 16407
This commit is contained in:
parent
61639cbad5
commit
1972403939
1 changed files with 1 additions and 1 deletions
|
@ -2042,7 +2042,7 @@ public class LDML2ICUConverter {
|
|||
private boolean isDraft(Node node, StringBuffer xpath){
|
||||
//if the xpath contains : then it is a special node
|
||||
// turn off checking of draftness for this node
|
||||
if(xpath.indexOf(":")!=0){
|
||||
if(xpath.indexOf(":")!=-1){
|
||||
return false;
|
||||
}
|
||||
if(LDMLUtilities.isNodeDraft(node)){
|
||||
|
|
Loading…
Add table
Reference in a new issue