Re: Module Design Question

2006-03-02 Thread Joachim Zobel
Am Mittwoch, den 01.03.2006, 21:28 + schrieb Nick Kew: > On Wednesday 01 March 2006 20:20, Joachim Zobel wrote: > > The obvious test: > > > > static int xmlns_filter_init_test(ap_filter_t *f) > > { > > ap_update_mtime(f->r, 1101151837); > > ap_set_last_modified(f->r); > > > > return OK; >

Re: Module Design Question

2006-03-01 Thread Nick Kew
On Wednesday 01 March 2006 20:20, Joachim Zobel wrote: > Am Mittwoch, den 01.03.2006, 19:19 + schrieb Nick Kew: > > Huh? Of course you can - indeed sometimes must - manipulate headers > > in a filter! Just so long as you do so before passing anything down > > the > > chain. > > > > What are y

Re: Module Design Question

2006-03-01 Thread Joachim Zobel
Am Mittwoch, den 01.03.2006, 19:19 + schrieb Nick Kew: > > Huh? Of course you can - indeed sometimes must - manipulate headers > in a filter! Just so long as you do so before passing anything down > the > chain. > > What are you trying to do that's a problem? The obvious test: static int

Re: Module Design Question

2006-03-01 Thread Graham Leggett
Joachim Zobel wrote: I am thinking about the design of a module that executes SQL queries (with a bit of XML to tell it what the binds, fields and params are) and outputs database content as XML. I have had a similar module for LDAP as a concept for a while now, which I plan to build once I h

Re: Module Design Question

2006-03-01 Thread Nick Kew
On Wednesday 01 March 2006 16:59, Joachim Zobel wrote: > Hi. > > I am thinking about the design of a module that executes SQL queries > (with a bit of XML to tell it what the binds, fields and params are) and > outputs database content as XML. The problem is that I want two things > and it seems pr

Module Design Question

2006-03-01 Thread Joachim Zobel
Hi. I am thinking about the design of a module that executes SQL queries (with a bit of XML to tell it what the binds, fields and params are) and outputs database content as XML. The problem is that I want two things and it seems pretty hard to get both. 1. I want the module to act as an output f