Hi Scott, Cantor, Scott <canto...@osu.edu> writes:
> If anybody who knows the DOM impl could weigh in on what the heck that > code in DOMCasts.hpp/cpp was doing and why, I'd welcome the perspective. Yeah, infamous Xerces-C++ brain-death ;-) Try to replace this (and if it works other similar) function with: template <typename T> static inline DOMNodeImpl* castToNodeImpl(const T* p) { return &p->fNode; } There might still be some cases you you will have to cast the argument to appropriate DOM*Impl type. Boris --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org