I did not realize you were reading in the svg from a file. This is somewhat new territory for me as all of my svg's are in the XSL.
I don't think you can use an SVG as a source for an external graphic (it's
designed for GIFs and the like). Try using an "instream-foreign-object"
with your svg and see if you get the same error.
If I am wrong about the external graphic, someone please correct me.
-Lou
Johannes Franz
<johannes.franz@ To: [EMAIL PROTECTED]
rub.de> cc:
Subject: Re: Problem with SVG
10/28/2004 07:25
Please respond
to fop-user
Ok,
this are my sample files.
My commandline is:
.../fop.sh -xml diagram.xml -xsl protocol-extern.xsl test.pdf
Am Donnerstag, 28. Oktober 2004 16:36 schrieb [EMAIL PROTECTED]:
> I can open this OK in Adobe's viewer. The only error I get is "bad CSS
> selector".
>
> Can you send your command line? I'll try it on my side.
>
> -Lou
>
>
>
>
> Johannes Franz
> <johannes.franz@ To:
> [EMAIL PROTECTED] rub.de> cc:
> Subject: Re: Problem with
> SVG 10/28/2004 06:34
> Please respond
> to fop-user
>
>
>
>
>
> Perhaps the problem lies in the svg itself.
> So i attach it to this email.
>
> Am Montag, 25. Oktober 2004 17:31 schrieb [EMAIL PROTECTED]:
> > Add the batik.jar to your classpath. Here is a sample batch file that
I
> > use with FOP 0.20.3 on Windows 2000:
> >
> > set
>
>
ppp=.;\bin\deploy\batik.jar;\bin\deploy\logkit-1.0.jar;\bin\deploy\avalon-f
>
>
>ramework-4.0.jar;\bin\deploy\xerces-1.2.3.jar;\bin\deploy\xalan-2.0.0.jar;
> >\b
> >
> >in\deploy\fop.jar
> >
> > java -cp %ppp% org.apache.fop.apps.Fop -s -d -xml %1 -xsl %2 -pdf
>
> debug.pdf
>
> > -c userconfig.xml
> >
> > Hope this helps.
> >
> > -Lou
> >
> >
> >
> >
> > "Johannes Franz"
> > <johannes.franz@ To:
> > <[EMAIL PROTECTED]> rub.de> cc:
> > Subject: Re: Problem
with
> > SVG 10/25/2004 10:32
> > Please respond
> > to fop-user
> >
> >
> >
> >
> >
> > Ok, i have to include Batik. Could you perhaps explain how to do this?
I
> > don't exactly understand the faq.
> >
> >
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, October 25, 2004 1:30 PM
> > Subject: Re: Problem with SVG
> >
> > > SVG is not natively supported through FOP - it requires Batik. Don't
> > > forget to include the Batik jar that came with your FOP distribution.
> > >
> > > See http://xml.apache.org/fop/graphics.html#batik
> > > or
> > > http://xml.apache.org/fop/graphics.html#svg
> > >
> > > -Lou
> > >
> > >
> > >
> > >
> > > Johannes Franz
> > > <johannes.franz@ To:
> > > [EMAIL PROTECTED]
> > > rub.de> cc:
> > > Subject: Problem with
SVG
> > > 10/25/2004 03:41
> > > Please respond
> > > to fop-user
> > >
> > >
> > >
> > >
> > >
> > > Hi there,
> > >
> > > i wanted to know how many svg images fop can embed before the
> > > outofmemory-error occurs. So i searched the web for a SVG, which is
>
> about
>
> > > 70kb large. But when i run fop i get the following error message:
> > > [ERROR] Batik not in class path
> > > [ERROR] Error while creating area : No ImageReader for this type of
>
> image
>
> > > (file:/home/johannes/AT_PI.vdo/diagram.svg)
> > >
> > > What's the problem?
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> (See attached file: diagram.svg)
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
(See attached file: diagram.xml)(See attached file: protocol-extern.xsl)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
diagram.xml
Description: Binary data
protocol-extern.xsl
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
