Hi,
> I will try and look at this shortly. Updating to the new
> License would be good. Thanks!
I just upload the new file to bugzila id: 30580.
It is the same file just change the header to Apache License 2.
When the patch is accepted I also would like to update
- SVGOMUseElement
- SVGOMVi
Cameron McCormack wrote:
Ah I see, the SVGSVGElement.getElementById (which I hadn't noticed
existed) restricts to the subtree.
2) Adding/removing elements/subtree's. Someone can add a whole
subtree to a document and all those nodes need to have their
id's added, also when a subtree is removed
Hi John,
There is nothing that should need to be done for this. The only
thing I can think of is using getPaint instead of getColor (we tend
to set Paint's instead of setting Color's since SVG can have patterns
and gradients). The baseclass implementation keeps these in sync for
Paint objects
Sieker, Fritz wrote:
> I used Jprobe and found that the biggest time sink was in
> Batik.dom.svg.SVGOMDocument.getById().
>
> [ ... ]
>
> As an experiment, I replaced the scan of "protected static Element
> getById(String id, Node node)" by a hash table.
>
> [ ... ]
>
> The results were dramatic, w