David Neumann wrote:
> 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

Odd, I was not able to find the error location in the 0.20.1
source. Are you sure you are using 0.20.1? Anyway, it is
recommended to upgrade to 0.20.3 or .4 (soon to appear), because
this fixes a few important bugs.
Apart from this, you could try to set the baseDir property
   http://marc.theaimsgroup.com/?l=fop-dev&m=101777546120252&w=2

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to