Hi, the xsl sheet is chosen dynamically (there are a lot of sections of metadata), so the parameter {1} is replaced in the sitemap.
e.g. if you access metadata_overview.html, metadata_overview.xsl is chosen, metadata_general.html reults in metadata_general.xsl etc. But thnaks for the hint about the timestamps. i will have a look at it. Stephan e nio wrote: > Im not an expert and still learning the ropes. Looking at > your sitemap.log I was expecting to see metadata_overview.xsl > but can not find it. I don't know what an i18n transformer does, > and on > about 12:33.13:586 thats where I expect things to happen, and > your snapshots of the logs are in different time so maybe you > are looking at the wrong area? > > > --- Stephan Kassanke <[EMAIL PROTECTED]> wrote: >> Dear all, >> >> we have a coocoon application running here for publishing so >> called learning >> objects. these are described by metadata which is stored in a >> relational >> database (mySQL). For viewing the metadata we use the >> following approach: >> >> In an xsp I generate a temporary xml document with the >> structure >> >> <page> >> <!-- more tags /> >> </page> >> >> This document is passed to a specific stylesheet via the >> sitemap. The >> assignement is done by the following code fragment of the >> sitemap. >> >> <map:match >> pattern="menu/studyprogram/metadata/metadata_*.html"> >> <map:generate type="serverpages" >> src="menu/studyprogram/metadata/metadata.xsp"/> >> <map:transform type="i18n"/> >> <map:transform >> src="menu/studyprogram/metadata/metadata_{1}.xsl"/> >> <map:serialize/> >> </map:match> >> >> This is actually in a subsitemap which is correctly mounted >> from the main >> sitemap. The strange thing is that I get an empty page: >> >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >> <HTML><HEAD> >> <META http-equiv=Content-Type content="text/html; >> charset=windows-1252"></HEAD> >> <BODY></BODY></HTML> >> >> And this definitely not the result of my stylesheet (if a >> <page> match would >> happen there, there would be some tables at least). So, I >> guess that the xsp >> sort of breaks all operation at some point and results in a >> completely empty >> XML document. I get no error, nothing. >> >> All I have got are the following excerpts from the log files >> >> core.log >> -------- >> >> REQUEST: >> /cocoon/orw/menu/studyprogram/metadata/metadata_overview.html >> >> CONTEXT PATH: /cocoon >> SERVLET PATH: >> /orw/menu/studyprogram/metadata/metadata_overview.html >> PATH INFO: null >> >> REMOTE HOST: 131.234.154.180 >> REMOTE ADDRESS: 131.234.154.180 >> REMOTE USER: null >> REQUEST SESSION ID: null >> REQUEST PREFERRED LOCALE: de >> SERVER HOST: orworld.upb.de >> SERVER PORT: 8180 >> >> METHOD: GET >> CONTENT LENGTH: -1 >> PROTOCOL: HTTP/1.1 >> SCHEME: http >> AUTH TYPE: null >> >> CURRENT ACTIVE REQUESTS: 1 >> REQUEST PARAMETERS: >> >> PARAM: 'locale' VALUES: '[en]' >> PARAM: 'general_id' VALUES: '[2]' >> PARAM: 'lom_id' VALUES: '[12]' >> HEADER PARAMETERS: >> >> PARAM: 'accept' VALUES: '[image/gif, image/x-xbitmap, >> image/jpeg, >> image/pjpeg, application/vnd.ms-excel, >> application/vnd.ms-powerpoint, >> application/msword, */*]' >> PARAM: 'referer' VALUES: >> > '[http://orworld.upb.de:8180/cocoon/orw/menu/studyprogram/courses/showlevel2 >> .xsp?leveloneidlom=7&leveloneidgeneral=2&locale=en]' >> PARAM: 'accept-language' VALUES: '[de]' >> PARAM: 'accept-encoding' VALUES: '[gzip, deflate]' >> PARAM: 'user-agent' VALUES: '[Mozilla/4.0 (compatible; MSIE >> 6.0; Windows NT >> 5.0)]' >> PARAM: 'host' VALUES: '[orworld.upb.de:8180]' >> PARAM: 'connection' VALUES: '[Keep-Alive]' >> PARAM: 'cookie' VALUES: '[LOM_USERID=stephan%2Ekassanke; >> LOM_LANGUAGE=en]' >> >> SESSION ATTRIBUTES: >> >> >> DEBUG (2003-03-13) 12:33.13:462 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ResourceLimitingPool: Got a >> org.apache.cocoon.components.pipeline.CachingEventPipeline >> from the pool. >> DEBUG (2003-03-13) 12:33.13:463 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ResourceLimitingPool: Got a >> org.apache.cocoon.components.pipeline.CachingStreamPipeline >> from the pool. >> WARN (2003-03-13) 12:33.13:465 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ExcaliburComponentSelector: Looking up component on >> an >> uninitialized ComponentLocator with hint [orw/sitemap.xmap] >> DEBUG (2003-03-13) 12:33.13:470 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ResourceLimitingPool: Got a >> org.apache.cocoon.components.pipeline.CachingEventPipeline >> from the pool. >> DEBUG (2003-03-13) 12:33.13:470 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ResourceLimitingPool: Got a >> org.apache.cocoon.components.pipeline.CachingStreamPipeline >> from the pool. >> DEBUG (2003-03-13) 12:33.13:471 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ExcaliburComponentSelector: UnnamedSelector: >> ComponentSelector >> could not find the component for hint [wildcard] >> DEBUG (2003-03-13) 12:33.13:471 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ExcaliburComponentSelector: UnnamedSelector: >> ComponentSelector >> could not find the component for hint [wildcard] >> DEBUG (2003-03-13) 12:33.13:472 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ExcaliburComponentSelector: UnnamedSelector: >> ComponentSelector >> could not find the component for hint [wildcard] >> DEBUG (2003-03-13) 12:33.13:472 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ExcaliburComponentSelector: UnnamedSelector: >> ComponentSelector >> could not find the component for hint [wildcard] >> DEBUG (2003-03-13) 12:33.13:472 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ExcaliburComponentSelector: UnnamedSelector: >> ComponentSelector >> could not find the component for hint [wildcard] >> DEBUG (2003-03-13) 12:33.13:472 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ExcaliburComponentSelector: UnnamedSelector: >> ComponentSelector >> could not find the component for hint [wildcard] >> DEBUG (2003-03-13) 12:33.13:472 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ExcaliburComponentSelector: UnnamedSelector: >> ComponentSelector >> could not find the component for hint [wildcard] >> DEBUG (2003-03-13) 12:33.13:473 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/sitemap_xmap: Matched wildcard pattern >> menu/studyprogram/metadata/metadata_*.html >> DEBUG (2003-03-13) 12:33.13:473 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/AbstractSitemap: >> Current Sitemap Parameters: >> PARAM: '1' VALUE: 'overview' >> PARAM: '0' VALUE: >> 'menu/studyprogram/metadata/metadata_overview.html' >> >> DEBUG (2003-03-13) 12:33.13:473 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/sitemap_xmap: Component >> generator:serverpages(Parameters.EMPTY_PARAMETERS) >> DEBUG (2003-03-13) 12:33.13:473 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/sitemap_xmap: Source= >> menu/studyprogram/metadata/metadata.xsp >> DEBUG (2003-03-13) 12:33.13:473 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ExcaliburComponentSelector: UnnamedSelector: >> ComponentSelector >> could not find the component for hint [serverpages] >> DEBUG (2003-03-13) 12:33.13:474 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/ResourceLimitingPool: Got a >> org.apache.cocoon.generation.ServerPagesGenerator from the >> pool. >> DEBUG (2003-03-13) 12:33.13:474 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> Thread-8/sitemap_xmap: Component >> transformer:i18n(Parameters.EMPTY_PARAMETERS) >> DEBUG (2003-03-13) 12:33.13:475 [core.manager] >> > (/cocoon/orw/menu/studyprogram/metadata/metadata_overview.html) >> > === message truncated === > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - establish your business online > http://webhosting.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]