I think we would be doing a great service if we could come up with a good
C++ binding for DOM.

Things to think out:

Strings - You can't define a DOM without using strings.  Java has a native
Unicode support it their string class.  In C++ we need to roll our own.
What would an abstract DOM use?  DOMString (as Xerces does now),
std::basic_string<unsigned short>, or just express everything as XMLCh*, or
something else?

Exceptions - It would be nice if the abstract DOM gave the base exception
class. This could be the base class of all "public" exceptions, for the
DOM, the parser, XLST engine, etc.

>>I think it would be nice to define, as light as possible,  the set of
purely
>>virtual class that all C++ DOM implementations should implement.


Reply via email to