changed <dom> and <input> parser such that the following conditions actually work:
authorMarc Cromme <marc@indexdata.dk>
Thu, 8 Mar 2007 17:19:12 +0000 (17:19 +0000)
committerMarc Cromme <marc@indexdata.dk>
Thu, 8 Mar 2007 17:19:12 +0000 (17:19 +0000)
commit9fd5dd76e0bb2c992adc7723627f0e301bf00154
tree4413e19ce0c63749450d08cb92358a259662ed34
parent59e342c979248e16031fc537c7d7b6744da93b2c
changed <dom> and <input> parser such that the following conditions actually work:
1) no <input> element at all
2) empty <input> element
3) <input> element starting with an <xslt> instruction (that is, <xmlreader> and/or <marc> not mandatory any more.
Needed to make new define DOM_INPUT_DOM besides DOM_INPUT_MARC and DOM_INPUT_XMLREADER
Still missing detection of <xmlreader> or <marc> after all <xslt> nodes.
And more important: when finding errors here, it's kind of lam just to emit an warning, one should stop processing!
index/mod_dom.c
test/xslt/dom-config-one.xml
test/xslt/zebra-dom.cfg