Re: getElementById method on SVGSVGElement

Thomas DeWeese wrote:
> Robin Berjon wrote:
>> If it were just this method I would agree (or I wouldn't mind) but the 
>> whole SVG DOM could imho do with some heavy-duty surgery.
> 
>    Then do it in a version of the spec that doesn't try to be
> "upward compatible".

Deprecation doesn't break compatibility! The sooner it's deprecated, the 
sooner it can be removed.

>  BTW when I looked at the implementation in
> Batik I noticed a feature of this method, it allows for
> searching of disconnected subtrees (which could have duplicate
> id's, since they aren't in the document).

That would appear to be a good rationale for having this method on 
DocumentFragment, not on SVGSVGElement :)

-- 
Robin Berjon
   Research Scientist
   Expway, http://expway.com/

Received on Saturday, 5 February 2005 16:09:53 UTC