xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Lautenbach <be...@wingsofhermes.org>
Subject Bug in DOMNamedNodeMapImpl
Date Fri, 02 Apr 2004 12:55:47 GMT

There is a bug in DOMNamedNodeMapImpl::item(XMLSize_t) where count is 
not incremented as the loop searches through the holding array.

It means that items are not retrieved if they are not in the first bucket.

The bug is only in CVS, so I haven't put anything in bugzilla.

diff appended below (well, it's a fix that works for me, anyway :>).


cvs -z3 diff DOMNamedNodeMapImpl.cpp (in directory 
Index: DOMNamedNodeMapImpl.cpp
RCS file: 
retrieving revision 1.11
diff -r1.11 DOMNamedNodeMapImpl.cpp
 > 		count += thisBucket;

To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org

View raw message