|
From: Joe E. <jen...@fl...> - 2000-10-05 19:34:25
|
Sorry for posting this to an inappropriate list,
but I can't figure out where to send it; the Ajuba
bug report form doesn't have an entry for the TclDOM
package, and I'm not sure who to contact.
In the Tcl-DOM package (C version) dom::{document|element}
getElementsByTagName is documented as returning a list,
but as implemented returns a list variable. (Steve Ball's
original implementation returns a list).
Further, according to the comments in the code, the
list variable is intended to be "live" in that it
is automagically updated whenever the tree changes.
This does not in fact happen -- instead the variable
is only updated if 'getElementsByTagName' is called
a second time with the same arguments.
Proposed fix: change the code to match the documentation
and Steve's pure-Tcl DOM implementation. This will not match
the W3C DOM spec, but GetElementsByTagName and the other "live list"
APIs are deprecated in DOM level 2 anyway in favor of
the Traversal interface.
I can provide a patch, but who should I send it to?
I could also go ahead and commit the changes, but fear
running afoul of the new TCT policies :-) I don't know
who has administrative jurisdiction over this module...
Thanks,
--Joe English
jen...@fl...
[ Cc: ste...@zv... ]
--
The TclCore mailing list is sponsored by Ajuba Solutions
To unsubscribe: email tcl...@aj... with the
word UNSUBSCRIBE as the subject.
|