Re: AW: testing cache - issues with * in the source path
Hello Marco, Thanks for testing the sitemap.xmap. It helped me a lot. I think I have figured why the caching is not working on some of my content. Some of the source paths that I am using have non-alpha-numeric (i.e. NON [a-z][0-9]) characters. e.g. if the source path contain a * then the caching doesn't work. If I use a path that doesn't have a *, then caching works. Any ideas why this might be happening? I will have to test a little more, before I call it a bug. Thanks Sarah --- Marco Rolappe [EMAIL PROTECTED] wrote: sarah, I did a quick test with your sitemap. I had to comment out the transformer step as I don't have your stylesheet. a request to the index.html yields following lines (among others): ... DEBUG (2003-12-20) 00:39.51:561 [sitemap] (/cocoon/tmp/index.html) http8080-Processor4/AbstractCachingProcessingPipeline: Found cached response for 'index.html' using key: PK_G-file-file:/g:/dev/cvs/cocoon-2.1-HEAD/build/webapp/tmp/index.xml_S-html -1 DEBUG (2003-12-20) 00:39.51:561 [sitemap] (/cocoon/tmp/index.html) http8080-Processor4/AbstractCachingProcessingPipeline: validatePipeline: using valid cached content for 'index.html'. ... one thing I noted was that you used 'type=xalan' in the transformer step. this one isn't defined in the sitemap, at least not in the sitemap you attached, so I assume you have defined it in the parent sitemap. otherwise you should get an error message. -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Sarah Haff Gesendet: Freitag, 19. Dezember 2003 23:46 An: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: Re: AW: testing cache Marco, Here is the sitemap.xmap (i have also attached it with this email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: testing cache - issues with * in the source path
Hi Marco, No, I mean something like this: map:generate src=/home/xml/app/translation/old*files/address.xml/ Note there is a * in the path . Seems like * is causing the content to be NOT cached. If there is not * in the path, then the caching seems to work. strange. They way our application is designed, we need to have a * in some path names. Thanks. Sarah --- Marco Rolappe [EMAIL PROTECTED] wrote: hi sarah, I don't know exactly what you mean with source path. if you mean the map:match pattern= note that the '*' is a wildcard, like it is in shells. you are using '*' in file names? -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Sarah Haff Gesendet: Samstag, 20. Dezember 2003 01:18 An: [EMAIL PROTECTED] Betreff: Re: AW: testing cache - issues with * in the source path Hello Marco, Thanks for testing the sitemap.xmap. It helped me a lot. I think I have figured why the caching is not working on some of my content. Some of the source paths that I am using have non-alpha-numeric (i.e. NON [a-z][0-9]) characters. e.g. if the source path contain a * then the caching doesn't work. If I use a path that doesn't have a *, then caching works. Any ideas why this might be happening? I will have to test a little more, before I call it a bug. Thanks Sarah - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]