From a4a2134d6bb8e741f1e64f3e00232946f31ea50b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 23 Feb 2007 11:16:39 +0000 Subject: [PATCH] For dom filter, in input element construct, parse @inputcharset instead of @charset . --- index/mod_dom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index/mod_dom.c b/index/mod_dom.c index 1c44a72..238b808 100644 --- a/index/mod_dom.c +++ b/index/mod_dom.c @@ -1,4 +1,4 @@ -/* $Id: mod_dom.c,v 1.17 2007-02-23 11:10:37 adam Exp $ +/* $Id: mod_dom.c,v 1.18 2007-02-23 11:16:39 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -380,12 +380,12 @@ static ZEBRA_RES parse_input(struct filter_info *tinfo, xmlNodePtr ptr, for (attr = ptr->properties; attr; attr = attr->next) { - if (attr_content(attr, "charset", &input_charset)) + if (attr_content(attr, "inputcharset", &input_charset)) ; else { dom_log(YLOG_WARN, tinfo, ptr, - "bad attribute @%s, expected @charset", + "bad attribute @%s, expected @inputcharset", attr->name); } } -- 1.7.10.4