>As currently written, the NodeImpl class (in the C++) has a publically
>accessible DOMString member variable "value".

Haven't looked at the C++ code, but I believe it's based on the Java -- and
if so, that "value" is an internal field (whether public or not), and not
part of the DOM bindings. The bindings use getters and setters for
nodeValue. Some nodes implement this by assigning the string to that
internal value member; some implement it in terms of their children.

I suspect that adding datatype support to the DOM would best be done by
adding intelligence to the nodes, not to DOMString. But that's a very
preliminary reaction, and is partly biased by issues in the Java bindings
(String is a "final" class).

______________________________________
Joe Kesselman  / IBM Research


Reply via email to