if (!rule && strcmp((const char *) node->name, "display"))
{
- yaz_log(YLOG_WARN, "Missing attribute rule for element %s",
+ yaz_log(YLOG_WARN, "Missing attribute 'rule' for element %s",
(const char *) node->name);
no_errors++;
continue;
}
if (step && U_FAILURE(*status))
{
+ yaz_log(YLOG_WARN, "ICU Error %d %s for element %s, rule %s",
+ *status, u_errorName(*status), node->name, rule ?
+ rule : "");
no_errors++;
break;
}
{
printf("Could not set up ICU chain from config file '%s' \n",
p_config->conffile);
- if (!U_SUCCESS(status))
- printf("ICU Error: %d %s\n", status, u_errorName(status));
exit(1);
}