xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helder Magalhães <helder.magalh...@gmail.com>
Subject Re: Batik and XmlHttpRequest / accessing Batik objects from javascript in svg
Date Tue, 05 Oct 2010 21:02:37 GMT
Hi Roland,


> Regarding communication, I already use getURL() now. However, there seems to
> be a bug that has already been mentioned here, but was confirmed as fixed.
> Yet it still (or again) seems to exist: I cannot use getURL() inside an
> Applet (works fine in squiggle)  without granting a right to create a
> Classloader via a java.policy file in the user home directory:
>
> Please have a look here:
> http://old.nabble.com/Batik-Applet-and-getURL-XMLHttpRequest--td18105942.html

Yes, the post leads to revision 677245 [1], where the fix (by Thomas)
was committed.


> Ok, while rereading the above post, I realized that this fix is not included
> in the current release version 1.7 I use. Is that correct?

Right, that commit was made after the 1.7 release.


> The fix is from
> 2008 in 1.8Alpha ?! It seems there hasn’t there been any further major
> release since that?

Right again. It's in the current trunk code and (unfortunately) there
was no 1.7.1 release. Currently things are moving on and I hope there
will be a 1.8 release (see bug 50045 [2]) in a not-so-far future. ;-)


> Hmm, that’s sad, because I managed to handle several
> problems now – but the requirement of a java.policy file on the user’s
> computer is a real showstopper. How stable are current SVN-Releases that
> include the fix? Is it possible to use them in a productional environment?

IMHO using the SVN checkout and/or a nightly build [3] is already
better than the 1.7 release as there were a few notable bugs (such as
this one) fixed since the release. But of course that not being
released yet means exactly that. So it is possible to use in
production *but* you are the one which should evaluate and assume the
risk.

Nevertheless, if you are not willing to take the risk, you may simply
download/checkout the 1.7 release code and simply patch your working
copy (taking a look at the modification made by Thomas [1], it should
be quite similar if not exactly the same). ;-)


> Thanks again,
>
> Roland

Hope this helps,
 Helder


[1] http://svn.apache.org/viewvc?view=revision&revision=677245
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=50045
[3] http://xmlgraphics.apache.org/batik/download.cgi#Current+development+snapshot

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message