On Wed, Apr 28, 2004 at 02:02:18PM -0500, Tony Collen wrote: > Leszek Gawron wrote: > > > > >My point is : why isn't the generator type attribute processed with value > >substitution? I could do map:generate type="{1}" and add generator > >definitions > >at the top of the sitemap. > > > >I can do <map:call function="{1}"/>. What's the difference? > > Hmm, all things aside, I don't know why, and there isn't much difference. > The only remote thing I could think of is someone triggering a Generator > through the URL that you might not neccesarily want to be triggered, for > security reasons, etc. Same can be said about calling a function. The solutions is simple: do not use wildcard matching if this is a threat for you. But I really think there should be such possibility.
> > I'd be curious to hear other reasons why it shouldn't be allowed in a > Generator, or any other sitemap component for that matter. Makes two of us :) lg -- __ | / \ | Leszek Gawron // \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(501)720812 / // \\ \ \\ // recursive: adj; see recursive | \__/ |