Jorg Heymans wrote:
Not sure if i understood what you meant here.
I printed out the class reference of the svgdoc generated by me *before*
and *after* (using canvas.getSVGDocument ) the setSVGDocument call, both
are the same ([EMAIL PROTECTED])
This is a good test. If you get the same object
Hi,
Not sure if i understood what you meant here.
I printed out the class reference of the svgdoc generated by me *before*
and *after* (using canvas.getSVGDocument ) the setSVGDocument call, both
are the same ([EMAIL PROTECTED])
When i print the implementation i get for both
[EMAIL PROTECTED]
Hi Jorg,
So I have one thought, it is possible that you are winding up
with two independent instances of the SVGDOMImplementation. So
code within the Batik toolkit is getting one and your code is
getting a different one. This would cause the check in
setSVGDocument to fail. The best way to c
Thomas DeWeese wrote:
As I said it is unclear why the load cache isn't cleared between
loads of toplevel documents although this is the only thing I can
think of that might explain a large performace difference.
Thanks for this.
Here is some annotated logging output from my applet, the differe
Thomas DeWeese wrote:
My best guess is that you are running into a caching issue. The
DocumentLoader does cache documents that it has read in the past
(although normally this cache is 'cleared' between main document
loads). It is mostly present so that if you pull in 50 symbols from
the same
Thomas DeWeese wrote:
My best guess is that you are running into a caching issue. The
DocumentLoader does cache documents that it has read in the past
(although normally this cache is 'cleared' between main document
loads). It is mostly present so that if you pull in 50 symbols from
the same
Jorg Heymans wrote:
Robert Marcano wrote:
I have not checked the implementation of setURI(), but colud you try
using a BufferedInputStream
Thanks for the suggestion, there is a marginal improvement but not quite
what i had hoped for.
The documentloader class seems to be doing exactly what i'm do
Robert Marcano wrote:
I have not checked the implementation of setURI(), but colud you try
using a BufferedInputStream
Thanks for the suggestion, there is a marginal improvement but not quite
what i had hoped for.
The documentloader class seems to be doing exactly what i'm doing ie
instantiate
On Wed, 2004-11-17 at 13:18 +0100, Jorg Heymans wrote:
> Hi,
>
> Am i correct in saying that (batik running in applet environment)
>
> mycanvas.setURI()
>
> is much faster than
>
> Document doc = new SAXSVGDocumentFactory().createSVGDocument(uri,
> connection.getInputStream())
> mycanvas.setDo