From: Adam Dickmeiss Date: Mon, 8 Nov 2010 14:24:46 +0000 (+0100) Subject: ICU: remove check for attr rule (not required) X-Git-Tag: v4.1.4~14^2~12^2~4 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=af3b1f509a27cb38ca5c9cb7a22cd384f5ca7c70;p=yaz-moved-to-github.git ICU: remove check for attr rule (not required) --- diff --git a/src/icu_chain.c b/src/icu_chain.c index c6f21ef..e6044d4 100644 --- a/src/icu_chain.c +++ b/src/icu_chain.c @@ -270,13 +270,6 @@ struct icu_chain *icu_chain_xml_config(const xmlNode *xml_node, if (!rule && node->children) rule = nmem_text_node_cdata(node->children, nmem); - if (!rule || !*rule) - { - yaz_log(YLOG_WARN, "Missing rule for element '%s'", node->name); - no_errors++; - continue; - } - if (!strcmp((const char *) node->name, "casemap")) step = icu_chain_insert_step(chain, ICU_chain_step_type_casemap, (const uint8_t *) rule, status);