PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2974 *** shadow/2974 Thu Aug 2 23:23:08 2001 --- shadow/2974.tmp.25148 Thu Aug 2 23:23:08 2001 *************** *** 0 **** --- 1,23 ---- + +============================================================================+ + | getLength error | + +----------------------------------------------------------------------------+ + | Bug #: 2974 Product: Xerces-C++ | + | Status: NEW Version: 1.5.1 | + | Resolution: Platform: HP | + | Severity: Critical OS/Version: Other | + | Priority: Other Component: DOM | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + When using IDOM to parse a memory buffer, the parse succeeds and I can use a + rcursive function to traverse the entire DOM tree without any exception. When + performing a rootElement->getElementsByTagName(XMLCh *) call, the call returns + a valid DOM_Nodelist *, but when the getLength() method is called on the node + list, a segmentation gault occurs. I have traced this to the item(0) call + within the getLength method (IDeepNodeImpl.cpp) and within the + IDeepNodeImpl::item call the exception occurs on an if statement (line 209). \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
