W3C home > Mailing lists > Public > www-svg@w3.org > February 2005

Re: getElementById method on SVGSVGElement

From: Robin Berjon <robin.berjon@expway.fr>
Date: Sat, 05 Feb 2005 17:09:45 +0100
Message-ID: <4204EFC9.8040103@expway.fr>
To: Thomas DeWeese <Thomas.DeWeese@Kodak.com>
Cc: www-svg@w3.org

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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:02 UTC