projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed329d8
)
ICU: remove check for attr rule (not required)
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 8 Nov 2010 14:24:46 +0000
(15:24 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 8 Nov 2010 14:24:46 +0000
(15:24 +0100)
src/icu_chain.c
patch
|
blob
|
history
diff --git
a/src/icu_chain.c
b/src/icu_chain.c
index
c6f21ef
..
e6044d4
100644
(file)
--- 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);