projects
/
idzebra-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:
7729ad6
)
For dom filter, in input element construct, parse @inputcharset instead
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 23 Feb 2007 11:16:39 +0000
(11:16 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 23 Feb 2007 11:16:39 +0000
(11:16 +0000)
of @charset .
index/mod_dom.c
patch
|
blob
|
history
diff --git
a/index/mod_dom.c
b/index/mod_dom.c
index
1c44a72
..
238b808
100644
(file)
--- 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
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)
{
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,
;
else
{
dom_log(YLOG_WARN, tinfo, ptr,
- "bad attribute @%s, expected @charset",
+ "bad attribute @%s, expected @inputcharset",
attr->name);
}
}
attr->name);
}
}