encoding problem

2002-06-14 Thread S.M. Siebinga

Hi all,

I have a small encoding problem in cocoon 2.0.2. I have a utf-8 encoded
text that is transformed to html with an xsl stylesheet. After the
processing the unicode characters aren't displayed properly. When I
looked at the page source my characters were hardcoded in html entities
like  Aumlaut; when it should have been an a with a macron. When I
processed the xml source and the stylesheet by xalan it worked fine. 

Furthermore some of the unicode characters in hyperlinks are displayed
properly in the status bar at the bottom of my browser but aren't in the
main browser window. This led me to conclude that the problem most be
somewhere internally in cocoon.

When I looked through the log files I couldn't find any noticable
exceptions.

Could somebody please help me out?

I have a sdk 1.3.1 on a SuSE linux 8.0 box and cocoon 2.0.2 is running
on tomcat 4.0.1

regards sjoerd


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Internal server error

2002-03-04 Thread S.M. Siebinga

hi all,

I am using the latest cvs-source of cocoon2. When I compile it on my
machine (SuSE 7.3, tomcat 4.0.1 and j2sdk1.4.0-rc) everything works
fine. But when I restart tomcat I get the following internal server error
==

type fatal

message markup-languages: ComponentSelector could not access the
Component for hint: sitemap

description org.apache.avalon.framework.component.ComponentException:
markup-languages: ComponentSelector could not access the Component for
hint: sitemap

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/

path-info

stack-trace

org.apache.avalon.framework.component.ComponentException:
markup-languages: ComponentSelector could not access the Component for
hint: sitemap
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:293)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:292)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.Exception: Could not create enough Components to
service your request.
at org.apache.avalon.excalibur.pool.DefaultPool.get(DefaultPool.java:133)
at
org.apache.avalon.excalibur.component.PoolableComponentHandler.get(PoolableComponentHandler.java:126)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:283)
... 3 more



I hav tried rebuilding it with sdk1.3.1, but got the same error. I also
copied the xerces, xalan and xml-apis jars to
$JAVA_HOME/jre/lib/endorsed. But the error message remained the same.

The previous version of Cocoon2 worked fine.

Has anyone any idea how to solve this.

Thanks in advance,

Sjoerd 


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

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]