Hi,

I'm running Jetspeed under Windows 98, JDK1.2, tomcat 3.0 and a up-to-date
Jetspeed version.

When trying to access an XSP application, I get the following error:

Exception:  java.lang.Exception: XSP Java Compiler: Compilation failed for
_jetspeed.java 65: Invalid escape character.

"href=\"file:///C:\jdk\tomcat\webpages\content/dynamic/portletbrowser/xsp/in
dex.xsl\" type=\"text/xsl\""
                                ^
[...]
 at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJa
vaProcessor.java:142)
 at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:415)
 at org.apache.cocoon.Engine.handle(Engine.java:299)
 at
org.apache.jetspeed.portal.cocoon.CocoonRenderer.transformContent(CocoonRend
erer.java:184)
 at
org.apache.jetspeed.portal.cocoon.CocoonRenderer.transform(CocoonRenderer.ja
va:145)
 at
org.apache.jetspeed.portal.portlets.CocoonPortlet.getContent(CocoonPortlet.j
ava:152)

Here is the code snippet (in the cocoon repository):
          document.appendChild(
            document.createProcessingInstruction(
              "xml-stylesheet",

"href=\"file:///C:\jdk\tomcat\webpages\content/dynamic/portletbrowser/xsp/in
dex.xsl\" type=\"text/xsl\""
            )
          );

It seems that Cocoon did not replace correctly escaped '\' by '\\' (or '/').
Do I need a new cocoon version ? or is it a configuration problem ?

Thanks,

Frederic Lavigne, [EMAIL PROTECTED]
java software at http://www.L2FProd.com



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to