> From: Per Kreipke [mailto:[EMAIL PROTECTED]]
> 
> Vadim,
> 
> Did I get this wrong too? Just trying to correct my understanding.

No, looks like you are right and found an error... Will have to take a
look at it. Later. :)

Vadim

> 
> Per
> 
> > -----Original Message-----
> > From: Per Kreipke [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 31, 2002 12:08 PM
> > To: [EMAIL PROTECTED]
> > Subject: Sitemap parameters failing...
> >
> >
> > In the following test sitemap fragment, I thought I was doing
something
> > wrong because I couldn't get the sitemap to compile:
> >
> > <map:match patter="client.xml">
> >     <map:parameter name="client" value="magnet" />
> >
> >     <map:generate src="config/{client}.xml" />
> >     <map:serialize type="xml" />
> > </map:match>
> >
> >
> > When I look at the sitemap.xsl code I think I see why: the generated
java
> > fragment below is wrong, param is initialized outside the function
> > definition for the matcher.
> >
> > param = new Parameters();
> > param.setParameter("client", "magnet");
> >
> > private final boolean matchN10002D(.....) throws ...
> > {
> >     ...
> >     Parameters param;
> >     ...
> >
> > }
> >
> > Notes:
> >
> > - this is not an issue for the other instances where map:parameter
is used
> > (e.g. in map:act, map:select, etc) because those are called from
> > within the
> > function generated by "map:match".
> >
> > - I think the same bug exists in both XSL templates for "map:match"
and
> > "map:match//map:match".
> >
> > - I'm using C2 (RC1 I think) and this bug still exists in the
current code
> > when I look at the CVS code.
> >
> >
> > Per


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

Reply via email to