You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Orgalist <or...@wanadoo.fr> on 2001/06/27 11:21:40 UTC
[C2] xinclude : file not found
here's my problem :
I'm trying to include a file plan.xml in index.xml using xinclude (they are
in the same directory) and I keep getting :
org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:java.io.FileNotFoundException:
C:\dweb\tomcat\webapps\cocoon\sens3d_cc\test\index.xmlplan.xml (Le fichier
spécifié est introuvable)
and I don't understand what I'm doing to get this path
here's part of my sitemap.xmap:
-------------------------------------------------------------
(I ve got the "map:transformer xinclude.." line )
<!-- ========================= sens3d_cc
================================ -->
<map:match pattern="sens3d_cc/test/index.xml">
<map:generate src="sens3d_cc/test/index.xml"/>
<map:transform type="xinclude"/>
<map:transform src="sens3d_cc/test/index.xsl"/>
<map:serialize type="html"/>
</map:match>
<map:match pattern="plan.xml">
<map:generate src="sens3d_cc/test/plan.xml"/>
</map:match>
<map:match pattern="sens3d_cc/test/feuille_style.css">
<map:read src="sens3d_cc/test/feuille_style.css"
mime-type="text/css"/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>
-------------------------------------------------------------
and my file :
-------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<?cocoon-process type="xinclude"?>
<page title="SenS'3D Home Page"
xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
<column logo_src="SenS3D.jpg" logo_name="Bienvenue sur notre site"
update="12/05/2001" >
<xinclude:include parse="xml" href="plan.xml"/>
</column>
-------------------------------------------------------------
thank you
C de Corbier
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
AW: [C2] xinclude : file not found
Posted by Carsten Ziegeler <cz...@sundn.de>.
Hi Jörn,
could you please post a diff of the XIncludeTransformer to the
cocoon-dev@xml.apache.org list so that we can incorporate it
into the version.
Carsten
Open Source Group sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de mailto: cziegeler@sundn.de
================================================================
> Jörn Heid wrote:
>
>
> I think it's the bug I noticed before. I think you have to patch the
> XInclude-Transformer.
>
> Please look in the archive for it as I don't have the mail anymore.
>
> If you can't find I can send you my working XIncludeTransformer (.java or
> .class) this evening.
>
> -----Ursprüngliche Nachricht-----
> Von: Orgalist [mailto:orgalist@wanadoo.fr]
> Gesendet: Mittwoch, 27. Juni 2001 11:22
> An: cocoon-users@xml.apache.org
> Betreff: [C2] xinclude : file not found
>
>
> here's my problem :
> I'm trying to include a file plan.xml in index.xml using xinclude
> (they are
> in the same directory) and I keep getting :
> org.apache.cocoon.ProcessingException: Failed to execute
> pipeline.:java.io.FileNotFoundException:
> C:\dweb\tomcat\webapps\cocoon\sens3d_cc\test\index.xmlplan.xml (Le fichier
> spécifié est introuvable)
> and I don't understand what I'm doing to get this path
> here's part of my sitemap.xmap:
> -------------------------------------------------------------
> (I ve got the "map:transformer xinclude.." line )
> <!-- ========================= sens3d_cc
> ================================ -->
>
>
>
> <map:match pattern="sens3d_cc/test/index.xml">
> <map:generate src="sens3d_cc/test/index.xml"/>
> <map:transform type="xinclude"/>
> <map:transform src="sens3d_cc/test/index.xsl"/>
> <map:serialize type="html"/>
> </map:match>
>
> <map:match pattern="plan.xml">
> <map:generate src="sens3d_cc/test/plan.xml"/>
> </map:match>
>
> <map:match pattern="sens3d_cc/test/feuille_style.css">
> <map:read src="sens3d_cc/test/feuille_style.css"
> mime-type="text/css"/>
> </map:match>
>
> </map:pipeline>
> </map:pipelines>
>
> </map:sitemap>
>
> -------------------------------------------------------------
> and my file :
>
> -------------------------------------------------------------
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <?cocoon-process type="xinclude"?>
>
> <page title="SenS'3D Home Page"
> xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
>
>
>
> <column logo_src="SenS3D.jpg" logo_name="Bienvenue sur notre site"
> update="12/05/2001" >
> <xinclude:include parse="xml" href="plan.xml"/>
>
> </column>
> -------------------------------------------------------------
>
>
> thank you
>
> C de Corbier
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
AW: [C2] xinclude : file not found
Posted by Jörn Heid <he...@fh-heilbronn.de>.
I think it's the bug I noticed before. I think you have to patch the
XInclude-Transformer.
Please look in the archive for it as I don't have the mail anymore.
If you can't find I can send you my working XIncludeTransformer (.java or
.class) this evening.
-----Ursprüngliche Nachricht-----
Von: Orgalist [mailto:orgalist@wanadoo.fr]
Gesendet: Mittwoch, 27. Juni 2001 11:22
An: cocoon-users@xml.apache.org
Betreff: [C2] xinclude : file not found
here's my problem :
I'm trying to include a file plan.xml in index.xml using xinclude (they are
in the same directory) and I keep getting :
org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:java.io.FileNotFoundException:
C:\dweb\tomcat\webapps\cocoon\sens3d_cc\test\index.xmlplan.xml (Le fichier
spécifié est introuvable)
and I don't understand what I'm doing to get this path
here's part of my sitemap.xmap:
-------------------------------------------------------------
(I ve got the "map:transformer xinclude.." line )
<!-- ========================= sens3d_cc
================================ -->
<map:match pattern="sens3d_cc/test/index.xml">
<map:generate src="sens3d_cc/test/index.xml"/>
<map:transform type="xinclude"/>
<map:transform src="sens3d_cc/test/index.xsl"/>
<map:serialize type="html"/>
</map:match>
<map:match pattern="plan.xml">
<map:generate src="sens3d_cc/test/plan.xml"/>
</map:match>
<map:match pattern="sens3d_cc/test/feuille_style.css">
<map:read src="sens3d_cc/test/feuille_style.css"
mime-type="text/css"/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>
-------------------------------------------------------------
and my file :
-------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<?cocoon-process type="xinclude"?>
<page title="SenS'3D Home Page"
xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
<column logo_src="SenS3D.jpg" logo_name="Bienvenue sur notre site"
update="12/05/2001" >
<xinclude:include parse="xml" href="plan.xml"/>
</column>
-------------------------------------------------------------
thank you
C de Corbier
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>