DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7164>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7164 DOMParser with a DTD leak! ------- Additional Comments From [EMAIL PROTECTED] 2002-03-25 15:58 ------- xubin, by the way your email doesn't work... I tried to email you privately but the mail was returned to me. I really don't know and I'm afraid I can't help you. :( all I know is that replacing ElementImpl *previousElem = (ElementImpl *) fDocumentType->getElements()->setNamedItem( elem ); by EntityImpl *previousElem = (EntityImpl *) fDocumentType->entities->setNamedItem( elem ); has corrected the leak when an attribute is declared with multiple ATTLIST declarations. If you want solve some kind of leak you think you have, use the sample DOMCount. It's pretty easy to see what's wrong and it will help you see if the leak is really in the parser or in your code. If you are sure the leak is in the parser (verified with the sample), add a bugzilla bug and put an exemple of a document that leaks. Send it to me too, as I'd like to see if my app leaks with your doc. Good luck, regards. Jeff. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]