You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christophe MALIGORNE <cm...@odaxys.fr> on 2000/08/08 16:03:27 UTC

util:include-file

I want to include a XML file in another by using : <util:include-file
name="adhesion2.xml"/>.

the following  util namespace is declared at the top of the XSP page .

<xsp:page
  xmlns:xsp="http://www.apache.org/1999/XSP/Core"
  xmlns:util="http://www.apache.org/1999/XSP/Util"
>


but when i call my document, I have this error :

java.lang.Exception: XSP Java Compiler: Compilation failed for
_adhesion1.java
                 36: Identifier expected.
                         XSPUtil.cloneNode(
                                          ^
                 1 error


                         at java.lang.Throwable.fillInStackTrace(Native
Method)
                         at java.lang.Throwable.fillInStackTrace(Compiled
Code)
                         at java.lang.Throwable.(Compiled Code)
                         at java.lang.Exception.(Compiled Code)
                         at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(Compi
led Code)
                         at
org.apache.cocoon.processor.xsp.XSPProcessor.process(Compiled Code)
                         at org.apache.cocoon.Engine.handle(Compiled Code)
                         at
org.apache.cocoon.Cocoon.service(Cocoon.java:145)
                         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
                         at
org.apache.jserv.JServConnection.processRequest(Compiled Code)
                         at org.apache.jserv.JServConnection.run(Compiled
Code)
                         at java.lang.Thread.run(Compiled Code)

Did I forget somzthing to do ?

I'm using cocoon 1.7.2 and i added the last version of  XSPUtil.java.

Thanks.

Sorry if this problem has already been submitted but i can't access the
archive.

Christophe.