cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: sitemap design patterns - hybrid selector/matcher?
Date Mon, 10 Jun 2002 15:35:58 GMT
> From: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de]
> 
> On 10.Jun.2002 -- 11:05 AM, Vadim Gritsenko wrote:
> > > From: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de]
> > >
> > > > Nope, this is not a bug. Sitemap works this way, breaking
execution
> > > > on
> > > > first serialize.
> > >
> > > Sure, but have a second look at the code: There's only one
serialize.
> >
> > Yup, one serialize. It means every request will get through: match,
> > generator, transformer, match, generator... Oops! Exception: can't
have
> > two generators.
> 
> Oh, haven't realized that the last match matches everything and then
> two generators are used. But apart from using two generators, the
> snippet should work, right? Like using a regex-matcher and matching
> "[^ab]*.html"

Yes, if you make matcher patterns so they do not intersect, everything
will be OK.

Vadim

 
> 	Chris.
> 
> --
> C h r i s t i a n       H a u l
> haul@informatik.tu-darmstadt.de
>     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
> 


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message