http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1395

*** shadow/1395 Thu Apr 19 07:23:24 2001
--- shadow/1395.tmp.28522       Thu Apr 19 07:23:24 2001
***************
*** 0 ****
--- 1,30 ----
+ +============================================================================+
+ | DOM_NamedNodeMap::getLength() crashes                                      |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1395                        Product: Xerces-C                |
+ |       Status: NEW                         Version: 1.4                     |
+ |   Resolution:                            Platform: Sun                     |
+ |     Severity: Normal                   OS/Version: Solaris                 |
+ |     Priority:                           Component: DOM                     |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                  |
+ |  Reported By: [EMAIL PROTECTED]                                               |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The next sentences produce a 'Segmentation fault'
+ 
+    DOM_NamedNodeMap dnnm;
+    int n = dnnm.getLength();
+ 
+ I solve the problem in this way:
+ 
+    DOM_NamedNodeMap dnnm:
+    int n = 0;
+    if ( dnnm != 0 ) n = dnnm.getLength();
+ 
+ But i think this is not the more efficient way to do this, and is a little 
+ problem easily resolvable.
+ 
+ Thanks and best regards.

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

Reply via email to