Carsten Ziegeler wrote:

Sylvain Wallez wrote:
Can't you add this filtering logic in the included URI?
No, e.g. <cinclude:include src="http://some-service-host/service/a"/>

Well, I won't rephrase Vadim here :-)

Is it architectural elegance, or separation of concerns which leads to have each component to a single task so it can be reused in a number of different contexts?
Or FS? :)

Despite the smiley, I strongly disagree here. FS is when one wants to add too much features to a single component, which leads it to be overly complicated in code, configuration and usage.

What we need here is a simple transformer that does a very specific task on the SAX stream, and that can be used wherever that task is needed, which can be at any place in a pipeline: after a transformer, before a serializer or why not after a generator to cleanup files.

So it's not FS, but a simple but useful transformer.

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