> Add a note to the API docs for IDOM classes explaining their relationship to the DOM classes. Currently the docs appear to be copies.
Just to clarify, from programming perspective, there is no relationship between these two set of classes, no inheritance relationship nor aggregation ... etc. They are just two different ways of implementing the W3C DOM. Since they both are for W3C DOM, thus of course their API is similar. The difference is IDOM classes are abstract classes using pointer and XMLCh*; while the DOM classes uses smart pointer. Tinny ----- Original Message ----- From: "Richard Bolen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 1:41 PM Subject: RE: Difference between DOM and IDOM? I'm new to Xerces-C++ but may I make one small suggestion to alleviate some of the confusion. Add a note to the API docs for IDOM classes explaining their relationship to the DOM classes. Currently the docs appear to be copies. That might help until a decision is made about the next step... On Friday, 04/19/2002 at 07:20 ZE2, "Markus Fellner" <[EMAIL PROTECTED]> wrote: > IDOM is fast! (in my tests about 5-10x faster than DOM) > ... > BUT!! > ... > There is a problem with memory management. Once allocated memory is not > deallocated up to the deletion of the overall document. I believe those two statements are directly related. IDOM is faster, in part, because it doesn't waste cycles on maintaining reference counts. BTW, a point of personal peeve: IDOM _is_ an implementation of the Document Object Model (DOM) APIs. It might be a good idea to find a better way to refer to the older DOM implementation, to avoid confusion... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
