cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [C2] Sitemap revised again
Date Thu, 22 Jun 2000 22:27:13 GMT
Giacomo Pati wrote:
> 
> --- Stefano Mazzocchi <stefano@apache.org> wrote:
> > Giacomo Pati wrote:
> > >
> > > --- Stefano Mazzocchi <stefano@apache.org> wrote:
> > > >
> > > > How? the matcher/choosers are pluggable, and they are the only one that
> > > > _know_ the semantics of the test/patterns they use. How can we compile
> > > > those tests if we don't know the logic behind them?
> > > >
> > > > The code factories I proposed generate code for the entire class....
> > > > yes, they could generate code for a single method just as well...
> > > > hmmmm.... I'm afraid of creating too many contracts between the sitemap
> > > > and the matchers....
> > >
> > > Hmm... I see. Because the test/pattern values are ordinary strings, we can't
process them with
> > a
> > > logicsheet. We should have access to the factories itself at sitemap code-generation
time to
> > get
> > > the source code to incorporate into the final sitemap class.
> >
> > Exactly.
> 
> So how about using the Matcher/Chooser factories as XSLT extensions to get to the source
code? I
> think this need us to generate the stylesheet to apply first to fill in the factory classes
in the
> templates to generate the macher/chooser code.
> 
> What do you all think, could that be a way to go?

Yeah, this might be a way to go.... but I'd like to hear the expert
before continuing these speculations any further...

knock, knock, Ricardo? :)

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------


Mime
View raw message