Versions of FOP on your local machine and the one of cocoon might differ.
You cannot infer from a correct output on your local machine that it will
work in cocoon too when versions differ. You may exchange the cocoon fop
version with your local version which is most probably more recent.

Another clue would be to make sure that you have x11 installed or xvfb due
to the JDK bug that references x when it comes to including the batik
classes.

Stephan

----- Original Message -----
From: "Alonso Lord, Santiago (MA)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 1:22 PM
Subject: RE: XML + XSL + SVG --> PDF. SVG, Not working on Cocoon


I need to use SVGs. These a Autocad images converted to SVG. For one the
image quality is much better, and i´ve been told that the editing
capabilities are desired.
Given that it works using FOP on my local box, the problem should have an
easy solution the cocoon (using fop) box.

-S-

> -----Mensaje original-----
> De: Sidharth [SMTP:[EMAIL PROTECTED]]
> Enviado el: domingo 13 de enero de 2002 13:23
> Para: [EMAIL PROTECTED]
> Asunto: Re: XML + XSL + SVG --> PDF.  SVG, Not working on Cocoon
>
> Well convert the .svg extension to Jpeg file and then give the file
> reference in fo file
> ----- Original Message -----
> From: "Alonso Lord, Santiago (MA)" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 16, 2002 3:23 PM
> Subject: XML + XSL + SVG --> PDF. SVG, Not working on Cocoon
>
>
> > I´m trying to include a SVG file into a PDF generated from an XML + XT.
> My
> > problem is that despite working perfectly on my local box, it doesn´t
> work
> > when the file is generated from Cocoon.
> > Both boxes run NT
> > On my local box I use:
> > XT to generate a *.fo from my XML and XSL
> > FOP 0.20.2 to generate the PDF file
> >
> > The server is using:
> > Cocoon 2.0
> > (and Tomcat 4.0.2)
> >
> > Basically my entry in the XSL is this:
> > <xsl:template match="svg">
> >       <fo:block>
> >          <fo:external-graphic src="6005b.svg"/>
> >       </fo:block>
> >    </xsl:template>
> >
> > I´ve played around with that on the server, including a file:/// but
> given
> > that it works if i change it to 6005b.jpg, which is in the same
> location,
> > that doesn´t seem to be the problem.
> > In cocoon´s log this msg appears:
> >
> > ExternalGraphic: Error while creating area : Invalid Image URL - error
> on
> > relative URL : no protocol : null6005b.svg
> >
> >
> > What´s strange is that that was the same error a gif file was previously
> > giving me, which i solved by including the file:///
> >
> > Any idea why it would work on one and not the other?
> >
> > Thanks
> >
> > ---------------------------------------------------------------------
> > 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: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> ---------------------------------------------------------------------
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>



---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to