Vadim Gritsenko wrote:

[EMAIL PROTECTED] wrote:

Add possibility to remove comments to all text based serializers and to cinclude transformer.


Do you really think serializers and cinclude transformer are a good place for additional xml filtering logic? What if you want to indent included xml - is it good idea to add this code into serializers & include transformer too? Or if you want to drop all the whitespaces. Etc ad infinitum.

I'd think that separate filtering / cleaning transformer is a much cleaner approach. WDYT?


+1. Otherwise, we'll end up duplicating the cleaning code (or the use of a common class) all over the place.

Sylvain

--
Sylvain Wallez                        Anyware Technologies
http://people.apache.org/~sylvain     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director

Reply via email to