You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Klaus-Hendrik Wolf <K-...@ifmi.org> on 2001/04/19 09:57:53 UTC

[C2] Can't generate welcome-svg from command line

Hi,

I sent this to the users list some time ago and didn't get any response. 
Yesterday I fetched the actual version via CVS and it still doesn't work. 
Now I think it's a bug and I post it  to the developer list.

Generation of the welcome-svg page doesn't work. The welcome-svg.html file 
is generated, as are all the included images, but the <img src= values 
don't match the image names. It works fine when generated online through 
the servlet. I've placed the results and an log-file on our web-server:
         http://www.ifmi.org/tmp/site
because I didn't want to post the whole file. But here are the passages I 
think are important:

[...]

DEBUG   7340    [cocoon  ] (main): processing file docs/samples/samples.xml
DEBUG   7340    [cocoon  ] (main): file resolved to 
file:/C:/temp/cocoon2/xml-cocoon/webapp/docs/samples/samples.xml
DEBUG   7580    [cocoon  ] (Thread-98): FragmentExtractorTransformer 
extractLevel now 1.
DEBUG   8191    [cocoon  ] (Thread-98): FragmentExtractorTransformer 
extractLevel now 0.
DEBUG   8201    [cocoon  ] (Thread-98): FragmentExtractorTransformer stored 
document 315692-e5eb11639e--8000.

[...]

DEBUG   8762    [cocoon  ] (main): Recycling of NonCachingEventPipeline
DEBUG   8762    [cocoon  ] (main): Recycling of NonCachingStreamPipeline
INFO    8772    [cocoon  ] (main): |
INFO    8772    [cocoon  ] (main): Processing URI: 
+--welcome-svg-images/315692-e5eb11639e--8000.png
DEBUG   8772    [cocoon  ] (main): LinkSamplingEnvironment: 
uri=welcome-svg-images/315692-e5eb11639e--8000.png
DEBUG   8772    [cocoon  ] (main): Changing Cocoon context(sitemap.xmap) to 
prefix()
DEBUG   8772    [cocoon  ] (main):      from 
context(file:/C:/temp/cocoon2/xml-cocoon/./webapp/) and prefix()
DEBUG   8772    [cocoon  ] (main):      at URI 
welcome-svg-images/315692-e5eb11639e--8000.png
DEBUG   8782    [cocoon  ] (main): New context is 
file:/C:/temp/cocoon2/xml-cocoon/webapp/
DEBUG   8782    [cocoon  ] (main): Matched matcher_wildcard_N152
DEBUG   8782    [cocoon  ] (main): Component generator:extractor( emptyParam  )
DEBUG   8782    [cocoon  ] (main): Source={1}
DEBUG   8782    [cocoon  ] (main): substitute evaluated value for 1 as 
315692-e5eb11639e--8000
DEBUG   8782    [cocoon  ] (main): View links
DEBUG   8782    [cocoon  ] (main): Component serializer:links( emptyParam  )
DEBUG   8782    [cocoon  ] (main): FragmentExtractorGenerator retrieving 
document 315692-e5eb11639e--8000.
DEBUG   8792    [cocoon  ] (main): Recycling of NonCachingEventPipeline
DEBUG   8792    [cocoon  ] (main): Recycling of NonCachingStreamPipeline
DEBUG   8802    [cocoon  ] (main): 
mangle("welcome-svg-images/315692-e5eb11639e--8000.png")
DEBUG   8802    [cocoon  ] (main): 
welcome-svg-images/315692-e5eb11639e--8000.png
DEBUG   8802    [cocoon  ] (main): FileSavingEnvironment: 
uri=welcome-svg-images/315692-e5eb11639e--8000.png
DEBUG   8802    [cocoon  ] (main): Changing Cocoon context(sitemap.xmap) to 
prefix()
DEBUG   8802    [cocoon  ] (main):      from 
context(file:/C:/temp/cocoon2/xml-cocoon/./webapp/) and prefix()
DEBUG   8802    [cocoon  ] (main):      at URI 
welcome-svg-images/315692-e5eb11639e--8000.png
DEBUG   8802    [cocoon  ] (main): New context is 
file:/C:/temp/cocoon2/xml-cocoon/webapp/
DEBUG   8802    [cocoon  ] (main): Matched matcher_wildcard_N152
DEBUG   8802    [cocoon  ] (main): Component generator:extractor( emptyParam  )
DEBUG   8802    [cocoon  ] (main): Source={1}
DEBUG   8802    [cocoon  ] (main): substitute evaluated value for 1 as 
315692-e5eb11639e--8000
DEBUG   8802    [cocoon  ] (main): Component serializer:svg2png( emptyParam  )
DEBUG   8812    [cocoon  ] (main): FragmentExtractorGenerator retrieving 
document 315692-e5eb11639e--8000.
DEBUG   12618   [cocoon  ] (main): Recycling of NonCachingEventPipeline
DEBUG   12618   [cocoon  ] (main): Recycling of NonCachingStreamPipeline
INFO    12628   [cocoon  ] (main): |  |
INFO    12628   [cocoon  ] (main): |  +--[image/png]--> 
welcome-svg-images/315692-e5eb11639e--8000.png
INFO    12628   [cocoon  ] (main): |

[...]

DEBUG   20649   [cocoon  ] (main): mangle("welcome-svg")
DEBUG   20649   [cocoon  ] (main): welcome-svg
DEBUG   20649   [cocoon  ] (main): FileSavingEnvironment: uri=welcome-svg
DEBUG   20649   [cocoon  ] (main): Changing Cocoon context(sitemap.xmap) to 
prefix()
DEBUG   20649   [cocoon  ] (main):      from 
context(file:/C:/temp/cocoon2/xml-cocoon/./webapp/) and prefix()
DEBUG   20649   [cocoon  ] (main):      at URI welcome-svg
DEBUG   20649   [cocoon  ] (main): New context is 
file:/C:/temp/cocoon2/xml-cocoon/webapp/
DEBUG   20649   [cocoon  ] (main): Matched matcher_wildcard_N140
DEBUG   20649   [cocoon  ] (main): Component generator:file( emptyParam  )
DEBUG   20649   [cocoon  ] (main): Source=docs/samples/samples.xml
DEBUG   20659   [cocoon  ] (main): Component transformer:xslt( emptyParam  )
DEBUG   20659   [cocoon  ] (main): Source=stylesheets/svg-samples2html.xsl
DEBUG   20659   [cocoon  ] (main): Component transformer:extractor( 
emptyParam  )
DEBUG   20659   [cocoon  ] (main): Component transformer:xslt( emptyParam  )
DEBUG   20659   [cocoon  ] (main): Source=stylesheets/fragment-extractor.xsl
DEBUG   20659   [cocoon  ] (main): Component serializer:html( emptyParam  )
DEBUG   20950   [cocoon  ] (main): ComponentFactory creating new instance 
of org.apache.cocoon.components.saxconnector.NullSAXConnector.
DEBUG   20950   [cocoon  ] (main): Component Pool - creating Overflow 
Resource: 
Resource=org.apache.cocoon.components.saxconnector.NullSAXConnector@671f95 
Available=0 Used=4
DEBUG   20950   [cocoon  ] (main): processing file docs/samples/samples.xml
DEBUG   20950   [cocoon  ] (main): file resolved to 
file:/C:/temp/cocoon2/xml-cocoon/webapp/docs/samples/samples.xml
DEBUG   21390   [cocoon  ] (Thread-100): FragmentExtractorTransformer 
extractLevel now 1.
DEBUG   21410   [cocoon  ] (Thread-100): FragmentExtractorTransformer 
extractLevel now 0.
DEBUG   21410   [cocoon  ] (Thread-100): FragmentExtractorTransformer 
stored document 315692-e5eb11639e--7fe2.

[...]

Thanks for any help!

   Klaus Hendrik

Klaus-Hendrik Wolf

Institute for Medical Informatics
Braunschweig University of Technology
Fallersleber-Tor-Wall 22        Tel: +49-531-391-21 27
38100 Braunschweig      Fax: +49-531-391-21 31
Germany                           http://khw.ifmi.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org