cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bonnin" <>
Subject xinclude problem
Date Thu, 07 Mar 2002 15:50:13 GMT
Hi I'm trying to use XInclude transformer but when I run the Cocoon
application I receive the following error

An error occurred
The org.apache.cocoon.www.sitemap_xmap notifies that
org.apache.cocoon.ProcessingException says:

Failed to execute pipeline.

More precisely:

org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.xml.sax.SAXParseException: The processing instruction must begin with
the name of the target.

What does it mean?

I have the following XSP file:

<?xml version="1.0"?>

 ConfVmi vmiProperties = new ConfVmi();
 String ipAddress = vmiProperties.getProperty("address");
 private String nextUrl(String pageName) {

<page id="IMAGE3">
  File imagesFileName = new File("Messages/image.xml");
  File filename = new File("Messages/ITA.messages");


 <title message="INTRO3"/>
 <indication message="INTRO4"/>
 <form submit="BUTTO1" image="IMAGE1">
  <textinput id="INTRO1" paramname="user" length="15"/>
  <pwdinput id="INTRO2" paramname="password" length="15"/>
 <button type="BUTTO5">
 <logo id="LOGO1"/>

and the following pipeline:

   <map:match pattern="">
    <map:redirect-to uri="intro.html"/>

  <map:match pattern="*.html">
   <map:generate type="serverpages" src="smit/{1}.xsp"/>
 <map:transform type="xinclude"/>
 <!--<map:transform type="xslt" src="smit/style/xml2htmlExp.xsl"/>-->
   <map:serialize type="xml"/>

Why I get this error?


Outgoing mail is certified Virus Free. (CopyRight FLASHH!)
Checked by AVG anti-virus system (
Version: 6.0.330 / Virus Database: 184 - Release Date: 28/02/02

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message