Frank Maas wrote:
>> but the thing about output filters is they should do something like
>>
>> return DECLINED unless $r->content_type =~ m/something_I_can_handle/;
>>
>> so your xml filter should decline (or better, remove itself) from the
>> filter chain if it's not xml you're being asked to process.

>
>
> yup, I'll tell the maintainer of this output filter (it's not my module,
> I am still steering away from writing my own filter ;-) ).


it's not all that hard...

although the code here is kinda old (pre-2.0-rename) the concepts are still
relevant

http://www.perl.com/pub/a/2003/04/17/filters.html

HTH

--Geoff