You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Richard Bondi <rb...@ergito.com> on 2002/07/27 00:00:27 UTC

Problem and solution in Adobe Illustrator SVG export

Here's a problem with Illustrator 10 (Windows) that I had, and how to solve 
it. I hope this helps anyone with the same problem; seems to be a bug in 
Illustrator's SVG exporter.

Problem:
-------------
You create an SVG in Illustrator (via Export to Web), and try to put into a 
pdf with fop 204rc. But nothing shows up in the PDF, and you get the error 
messages:

- Could not load external SVG: The value of the attribute "xmlns:graph" is 
invalid. Prefixed namespace bindings may be empty.
- Error while creating area: No ImageReader for this type of image ([path 
of file follows]).

Solution:
------------
Edit the SVG file in a text editor, and delete the attribute 
xmlns:graph="&ns_graphs;". As the error message indicates, the entity 
&ns_graphs is never defined. At least in my file, it was also never used.

Best,
r:b: