Re: [xep-support] Problem with image-base-url and svg

From: Chris Bowditch <bowditch_chris@hotmail.com>
Date: Thu Mar 10 2005 - 03:16:46 PST

Werner.Koch@bit.admin.ch wrote:

> I have a problem with a message indicating a missing image-base-url, see
> also the small excerpt of the stack trace below.
>
> Caused by: com.renderx.xep.lib.InternalException: attribute
> 'image-base-url' is required but missing
> at com.renderx.xep.pre.AttList.getDefault(Unknown Source)
>
> I followed the advice I found scatterd in the mail list and assigned
> everywhere in my process system ids to stylesheets , sources and results if
> possible and sometimes even xml:base attributes, even though the only
> external graphic that needs to be loaded was referenced with an absolute
> path. After some fooling around, I found out that it was not the external
> graphic, that causes the trouble, but a <fo:instream-foreign-object> which
> carries an svg graphic. The svg graphic is a barcode created by your barcode
> library code128.xslt, and removing the svg from the fo resolves the missing
> image-base-url problem along with removing the barcode. So I guess, I have
> to set somewhere something on this svg object. Putting an xml:base on the
> element svg didn't help, so I need some help.

I encountered the same problem, but setting systemId on the SAXSource object
thats passed to formatterImpl.render method fixed the problem. If you are
already doing this then it might be worth upgrading to 4.2.

Chris

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Thu Mar 10 04:06:09 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 10 2005 - 04:06:11 PST