You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by kwokhung <kw...@conven.com.hk> on 2001/12/31 02:49:48 UTC
Fw: SVG problem
Hi,
I sent this mail to user list, but no reply so I send it now again to dev list. Hope someone can answer.
----- Original Message -----
From: kwokhung
To: fop-user@xml.apache.org
Sent: Friday, December 28, 2001 3:59 PM
Subject: SVG problem
Hi,
I had problem with the SVG. I just downloaded FOP and tried the examples. I found that if the fo contains SVG, the FOPServlet
will encounter error as
ERROR 10095 [fop ] (): Could not set base URL for svg
java.net.MalformedURLException
at java.net.URL.<init>(URL.java:614)
at java.net.URL.<init>(URL.java:478)
at java.net.URL.<init>(URL.java:427)
at org.apache.fop.svg.SVGElement.layout(SVGElement.java:143)
at org.apache.fop.fo.flow.InstreamForeignObject.layout(InstreamForeignOb
ject.java:198)
at org.apache.fop.fo.flow.Block.layout(Block.java:259)
at org.apache.fop.fo.flow.Flow.layout(Flow.java:149)
at org.apache.fop.fo.flow.Flow.layout(Flow.java:108)
at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:29
4)
at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:191)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:178)
which will not happen if I use command line to produce PDF. For example, instream.fo will produce such error when I
run FOPServlet from my browser.
I wonder why there is a need to set base URL for svg. Anyone knows what happen to this error? And how can I solve it.
Regards
Brian Chu
Conven Corporation Limited
Address : Unit 130, 1/F Tech Centre, 72 Tat Chee Avenue, Kowloon Tong, Hong Kong
Tel : (852) 2777 8681