You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/08/03 08:23:08 UTC
[Bug 2974] New: - getLength error
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: xerces-c-dev@xml.apache.org |
+ | Reported By: seg@icon.co.za |
+ | 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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org