FOP is complaining about "Could not set base URL for svg" and refusing to draw a line. How does one set this URL? The version of FOP I'm using .20.1
Specifically, this XSL:FO... <fo:block> <fo:instream-foreign-object> <svg xmlns="http://www.w3.org/2000/svg" width="6in" height="0.1in"> <g><line stroke-width="0.05in" stroke="#000000" x1="0.4in" y1="1.2in" y2="1.2in" x2="6in"></line></g> </svg> </fo:instream-foreign-object> </fo:block> ...gives me this stack trace... [ERROR]: Logger not set [INFO]: building formatting object tree [INFO]: [1] [INFO]: [2] [ERROR]: > [ERROR]: > [ERROR]: Could not set base URL for svg java.net.MalformedURLException: java.lang.NullPointerException at java.net.URL.<init>(URL.java:496) at java.net.URL.<init>(URL.java:376) at java.net.URL.<init>(URL.java:330) at org.apache.fop.svg.SVGElement.layout(SVGElement.java:143) at org.apache.fop.fo.flow.InstreamForeignObject.layout (InstreamForeignObject.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:294) at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:191) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:178) I remember creating SVG lines in the past (must have been an older version of FOP) w/o errors like this. d --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]