> Can you please elaborate that a little? Feel free to provide 
> small example 
> illustrating the problem.
> 
> -- 
> Oleg Tkachenko
> eXperanto team
> Multiconn Technologies, Israel
> 


It sounds a lot like an issue a had a while back that was never solved.
What follows is my email from 1/24/02


I'm trying to embed the following SVG into my XSL-FO and run it thru FOP.
Although the SVG looks fine using Adobe's SVG viewer, I get an error (below)
from FOP.  Apparently, it doesn't like the url() reference to the
<radialGradient>.  How can I get this to work?
 
Thanks for any help,
Scott
 
 
<svg width="3.5in" height="1in" viewBox="0 0 680 200"
xmlns="http://www.w3.org/2000/svg"; preserveAspectRatio="none">
 <g>
  <defs>
   <radialGradient id="PurpleToWhite" gradientUnits="objectBoundingBox"
cx=".5" cy=".5" r=".5">
    <stop offset="5%" stop-color="white"/>
    <stop offset="100%" stop-color="rgb(100,0,100)"/>
   </radialGradient>
  </defs>
  <rect fill="black" stroke="black" x="0" y="0" width="680" height="200"/>
  <circle r="80" cx="270" cy="100" fill="url(#PurpleToWhite)"/>
  <text font-family="Times" font-size="135pt" x="213" y="160"
fill="white">D</text>
 </g>
</svg>

 
An I/O error occured while processing the URI
'file:D:/Projects/Dev/#PurpleToWhite' specified on the element <circle>
org.apache.batik.bridge.BridgeException: file:D:/Projects/Dev/:-1
An I/O error occured while processing the URI
'file:D:/Projects/Dev/#PurpleToWhite' specified on the element <circle>
        at
org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown So
urce)
        at org.apache.batik.bridge.PaintServer.convertURIPaint(Unknown
Source)
        at org.apache.batik.bridge.PaintServer.convertPaint(Unknown Source)
        at org.apache.batik.bridge.PaintServer.convertFillPaint(Unknown
Source)
        at org.apache.batik.bridge.PaintServer.convertFillAndStroke(Unknown
Sour
ce)
        at
org.apache.batik.bridge.SVGShapeElementBridge.createShapePainter(Unkn
own Source)
        at
org.apache.batik.bridge.SVGShapeElementBridge.buildGraphicsNode(Unkno
wn Source)
        at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown
Source)
        at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown
Source)
        at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
        at
org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.j
ava:413)
        at
org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:
382)
        at org.apache.fop.svg.SVGArea.render(SVGArea.java:58)
        at
org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRend
erer.java:366)
        at
org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectAr
ea.java:50)
        at
org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRendere
r.java:223)
        at org.apache.fop.layout.LineArea.render(LineArea.java:163)
        at
org.apache.fop.render.AbstractRenderer.renderBlockArea(AbstractRender
er.java:192)
        at org.apache.fop.layout.BlockArea.render(BlockArea.java:82)
        at
org.apache.fop.render.AbstractRenderer.renderAreaContainer(AbstractRe
nderer.java:158)
        at
org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:735
)
        at
org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:700)
        at
org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:217)
 
        at org.apache.fop.layout.AreaTree.addPage(AreaTree.java:81)
        at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:30
7)
        at
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:200)
        at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:182)
        at
org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:463)
        at org.apache.fop.apps.Driver.render(Driver.java:481)
        at org.apache.fop.apps.Driver.render(Driver.java:501)
        at org.apache.fop.apps.Driver.run(Driver.java:552)
 

Reply via email to