Vadim Gritsenko wrote:

Carsten Ziegeler wrote:

Michael Melhem wrote:

I recall suggesting map:pipe in an earlier discussion because itwould confirm to "noun-verb" convention that already exists in the sitemap.

... the only problem being that also pipe is a noun, it does not mean "somebody who makes pipelines". Currently, generator is "somebody who generates", transformer is "somebody who transforms", etc.

But "pipe" noun does not describe an actor, "pipe" is passive... "Piper" could be better but it means "somebody who plays pipe"...

I also don't like much "pipe" for the same reasons.

What about "process" ? Remember that the sitemap defines how a request is processed (pipeline only a part of it : there's also the flow) and is executed upon a call to "Processor.process()" !

However, there the issue of "backwards compatibly" as Torsten points out.
Okay, we *could* (don't know right now if it's good) deprecate the 2.0.x map:pipelines and map:pipeline and allow for a transition period both versions for defining pipelines: map:pipeline and map:pipe. And the in 2.1 newly introduced components are then map:pipelines resp. map:pipeline.
At least this would be consistent.

The sitemap namespace contains a version number : "http://apache.org/cocoon/sitemap/1.0";, so what about upgrading to "1.1" ? It would be fairly easy for the TreeProcessor to autoconfigure itself depending on the root element namespace and so handle gracefully both versions, even inside a single Cocoon instance (i.e. sitemaps and subsitemaps in different versions).

Sylvain

--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to