Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 88653 invoked by uid 500); 2 Apr 2002 18:23:44 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 88587 invoked from network); 2 Apr 2002 18:23:33 -0000 Message-ID: <004701c1da72$8fd655c0$c95df8c1@cyrilus> From: "cyril vidal" To: Subject: fo2pdf serializer Date: Tue, 2 Apr 2002 20:16:02 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0044_01C1DA83.3611ED40" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0044_01C1DA83.3611ED40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Good evening, I've got problems with transforming an xml document (CinemaFO.xml) into = a pdf one (CinemaFO.pdf) via an xslt transformation (CinemaFO.xsl). I'm sure CinemaFO.xml and Cinema.xsl are valid because I've tested them = by command line with fop 0.20.3 To test my samples with Cocoon2, I've created a new clean environment, = also a new directory under $CATALINA_HOME/webapps/ , e.g. essai.=20 Under essai, I've created the following repertory structure: /static = (including the file CinemaFO.xml and index.html) and = transforms(including the file CinemaFO.xsl), and I've also copied over = both $COCOON_HOME/cocoon.xconf and the $COCOON_HOME/WEB-INF directory. The structure of my sitemap.xmap file (in directory essai) is following: Theres is no problem with serving static document index.html. But when I try to perform the xslfo transformation by requesting the = URL:http://localhost:8080/essai/CinemaFO.xml, I've got any message error = (It means the server finds the files) but the browser (IE6) stays = completely white. With Netscape 6, the browser opens Acrobat reader, but = there's a message error, that indicates that an error occured at the = opening of the pdf document. What do you think is wrong? Thanks a lot for your answers, Cyril. ------=_NextPart_000_0044_01C1DA83.3611ED40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Good = evening,
 
I've got problems with = transforming=20 an xml document (CinemaFO.xml) into a pdf one (CinemaFO.pdf) via an xslt = transformation (CinemaFO.xsl).
I'm sure CinemaFO.xml = and Cinema.xsl=20 are valid because I've tested them by command line with fop = 0.20.3
 
To test my samples with = Cocoon2, I've=20 created a new clean environment, also a new directory under=20 $CATALINA_HOME/webapps/ , e.g. essai.
Under essai, I've=20 created  the following repertory structure:  /static = (including the file CinemaFO.xml and index.html) and = transforms(including the=20 file CinemaFO.xsl), and I've also copied over both = $COCOON_HOME/cocoon.xconf and=20 the $COCOON_HOME/WEB-INF directory.
 
The structure of my = sitemap.xmap file=20 (in directory essai) is following:
 
<map:pipelines>
 =20 <map:pipeline>
     <map:match=20 pattern=3D"index.html">
        = <map:read src=3D"static/index.html"=20 mime-type=3D"text/html"/>
    =20 </map:match>
  </map:pipeline>
 
 =20 <map:pipeline>
    <map:match=20 pattern=3D"CinemaFO.xml">
      = <map:generate=20 src=3D"static/CinemaFO.xml"/>
     =20 <map:transform=20 src=3D"transforms/CinemaFO.xsl"/>
     &nb= sp;=20 <map:serialize type=3D"fo2pdf"/>
   =20 </map:match>
  </map:pipeline>
 
Theres is no problem = with serving=20 static document index.html.
But when I try to = perform the xslfo=20 transformation by requesting the=20 URL:http://localhost:8080/essai/CinemaFO.xml, I've got any message = error=20 (It means the server finds the files) but the browser (IE6) stays=20 completely white. With Netscape 6, the browser opens Acrobat reader, but = there's=20 a message error, that indicates that an error occured at the opening of = the pdf=20 document.
 
What do you think is=20 wrong?
Thanks a lot for your=20 answers,
Cyril.
 
------=_NextPart_000_0044_01C1DA83.3611ED40--