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=1387>.
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=1387

Null pointer to fImpl in DOM_Document::getElementsByTagName

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2001-12-18 06:59 -------
The DOM design in Xerces-C++ uses reference counting.  Your code has

const DOMString* tag     = new DOMString(str);
(gdb) n
ptr: SamplePublisher
139        DOM_NodeList* list = new DOM_NodeList();
:
*list = m_document.getElementsByTagName(tagName.c_str());

All these will screw up the reference counting.  Please see Programming Guide: 
http://xml.apache.org/xerces-c/program.html#DOMProgGuide for further detail.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to