ICU-2055 fix a bug which lets messages being printed even when marked draft

X-SVN-Rev: 16407
This commit is contained in:
Ram Viswanadha 2004-10-07 00:19:16 +00:00
parent 61639cbad5
commit 1972403939

View file

@ -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)){