Changed some types in mod_dom.c ; mostly 'xmlChar *' to 'const char *'.
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 14 Mar 2007 14:16:14 +0000 (14:16 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 14 Mar 2007 14:16:14 +0000 (14:16 +0000)
commit9982694ca69efc2bf4db54cd5b5607e3680cd32a
tree5aa8c67c9c8e6cd405ecb88fb69d9a18c0815f35
parent21f90a8618faec6bee8d125c12088b74db8eb8b9
Changed some types in mod_dom.c ; mostly 'xmlChar *' to 'const char *'.
The use of const is more appropriate than non-const becuase these
string references point to xmlNode content - and we are not allowed
to change that. Added buffer safe PI attribute reading for mod_dom.c by
implementing function attr_content_pi. Function index_value_of still has
potential buffer flows. The record extraction system now has a new member,
action, which may be modified by a record filter to signal
delete/replace/insert. This is only honoured if update is used (in which
case the outer system already has said "we don't care whether it's insert
or replace anyway). Added mod_dom test for the use for @type=delete .
include/idzebra/recctrl.h
index/extract.c
index/mod_dom.c
test/xslt/Makefile.am
test/xslt/del-col.xml [new file with mode: 0644]
test/xslt/dom-config-del.xml [new file with mode: 0644]
test/xslt/dom1.c