W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2003

Re: Loading Image Generated from a servlet

From: Oleg Tkachenko <olegt@multiconn.com>
Date: Tue, 04 Mar 2003 15:17:25 +0200
Message-ID: <3E64A765.8050609@multiconn.com>
To: Saravanaan <saran_kct@hotmail.com>
CC: www-xsl-fo@w3.org

Saravanaan wrote:

>     I tried the same thing you told like
> 
>                 <fo:external-graphic
> src="url('http://localhost/java/Myservlet?Module=ImageCreator&amp;imageid=te
> st')"></fo:external-graphic>. I got an exception as
> 
>     [ERROR] Could not load external SVG: The current document is unable to
> create an element of the requested type (namespace:
> http://www.w3.org/2000/svg, name: HTML).
Looks like 
http://localhost/java/Myservlet?Module=ImageCreator&amp;imageid=test returns 
HTML, probably error page or something. Make sure it's proper URL and it 
returns image.

-- 
Oleg Tkachenko
Multiconn Technologies, Israel
Received on Tuesday, 4 March 2003 08:16:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT