getElementById method on SVGSVGElement

I have two question about the getElementById method on SVGSVGElement:

1)  Why does this function exist?  Since IDs must be unique in the document,
     getElementById on the document should be sufficient, no?  Is this method
     meant as a convenience for SVG implementors or for SVG authors?

2)  The "Behavior is not defined if more than one element has this id" wording
     is not clear to me.  Is that "more than one element in the document", or
     "more than one element in the subtree"?  The former makes more sense to it,
     and I'd like to request a formal erratum to that effect.

-Boris

Received on Sunday, 30 January 2005 19:45:49 UTC