Hi Vijay,

Vijay Kumar V wrote:

I'm facing an issue while embedding .gif image in my svg.

Actually you aren't embedding it you are referencing it, I only mention this because you might consider embedding it using the 'data' protocol. Although this shouldn't be your real issue.

What i'm trying to do is access a .gif image through http by using <image xlink:href="http://localhost/images/point.gif";
x="383" y="63" height="17" width="17"/>
This code is working fine on Windows 2000, Java 1.4.1, Batik 1.5.1
But, the same code is NOT working on Windows XP SP2 with same configuration and browser settings [...] it works on Windows XP SP1. !!

So I have to ask is the XP SP2 machine running a web server? I could imagine that SP2 would have the web server turned off by default.

Do i need to do any change to make it work on XP SP2?

You shouldn't in Batik as far as I know.

I tried to use relative path as well. But it didnt work either.

I would definitely use the relative path.

java.lang.NullPointerException
at org.apache.batik.bridge.DocumentLoader.getLineNumber(Unknown Source)

This is masking the real exception (it's trying to build an exception with a line number). I think this was fixed in Batik 1.6.

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



Reply via email to