David N Bertoni wrote:
>This would be great, as long as it can be aligned with what the standards
>bodies are doing.
The W3C/NIST effort seems to be exploring alternatives at this time, especially
regarding multi-language issues. Doing a CppUnit variant of the current NIST Java
tests would provide something for
them to look at for C++.
>And don't forget that for DOM compliance
>you must be able to represent a value as both "null" _and_ empty, so you
>cannot just return a reference to an instance of a string class, you have
>to return a pointer.
The same issue applies to all the node classes, DOM_Element, DOM_Node, etc. They
addressed it by supplying a operator==(void*). I don't think there is anything
special about DOMString that would
make the approach fine for DOM_Node and inappropriate for DOMString.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]