Stefano Mazzocchi wrote:

Sylvain Wallez wrote:

<snip/>

Good point. So let's go for <map:virtual-blah> in <map:components>.


No, what does that buy you? <generator> means it generates, who cares how it's implemented?


People that write sitemaps do care. What they want is to write a virtual component and don't care about the actual class that allows VPC to exist.

Tools (Lepido) do care, as it will have to provide a pipeline snippet editor for VPCs.

Keep in mind that VPC will be used normally from another block, so the using block really doesn't care if it's virtual or real, and the defining block is not really going to be cleaner having a mix of <generator> and <virtual-generator>


VPCs are equally useful for the declaring sitemap/block than for others!

If you rationale is for sitemap editors, it's easy to differentiate already: a virtual generator won't have the class attribute.


Uh? Are you saying that any <map:generator> without a class attribute will be interpreted as a VPC? -1 as it will produce erroneous "sitemap syntax error" messages when it should be "missing class attribute".

Sylvain

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



Reply via email to