[XML-SIG] repost: getElementsByTagName interpretation
Fri, 23 Jun 2000 17:09:13 +0200
[I tried posting this message yesterday but somehow it didn't appear on
the list -- did anyone receive it? Here I'll try again.]
Is there any official Python DOM policy on implementing getElementsByTagName()?
According to the official DOM spec (and the level 2 proposed recommendation),
getElementsByTagName() is supposed to return a live NodeList.
Studying the 4DOM however, it looks like the NodeList returned by
getElementsByTagName is *not* live.
Looking at the archives I can only find a message by Andrew Kuchling in
october '98 complaining about the DOM spec in this regard. I hearthily
agree with him. Has since then any decision been reached on how to
approach this in Python DOMs? I'd like to know what I ought to do.
On the one hand I desperately want to implement the simple non-live behavior,
as doing the other is a major pain. On the other hand, I'd risk introducing
an incompatibility with other DOMs.
Oh, by the way, I'm implementing a DOM on top of MetaKit, for no real