When I try to use a svg file as an extenal graphic I get this error:

 

[ERROR] Could not load external SVG: http://xml.org/sax/features/validation

[ERROR] Error while creating area : No ImageReader for this type of image (file:

C:/resin-2.1.4/webapps/df/svg/boxes.svg).

 

I am using it in the FopServlet example.  The servlet container is resin with jdk1-4.

 

This is the code snippet from my xsl:fo file:

 

<fo:block>         

       <fo:external-graphic src="file:C:/resin-2.1.4/webapps/df/svg/boxes.svg"/>

 </fo:block> 

 

When I run the XSL file through the FO plugin of XMLSpy, the PDF is generated

with no problems.

 

Any suggestions?

 

thanks,

Josh

Reply via email to