On Mon, 2007-01-08 at 11:52 +0100, Ard Schrijvers wrote: > > Ard, > > > > What is cached is the pattern, not the string to be matched > > against it, > > so what you describe isn't a problem IIUC. > > I already was a little amazed. But then, who is using always-changing > patterns? Like in dynamic sitemaps or something? Do not really see > this possible memory leak in here.. >
There is no real issue here for Cocoon indeed, I was just nitpicking that I prefered a design whereby the user of the wildcard matcher is responsible for the caching, just as is the case for regexp's or XSLT's or whatever. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED]
