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
Peoples,

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 :>).

Cheers,
	Berin


cvs -z3 diff DOMNamedNodeMapImpl.cpp (in directory 
C:\prog\SRC\xml-xerces.cvs\c\src\xercesc\dom\impl)
Index: DOMNamedNodeMapImpl.cpp
===================================================================
RCS file: 
/home/cvs/xml-xerces/c/src/xercesc/dom/impl/DOMNamedNodeMapImpl.cpp,v
retrieving revision 1.11
diff -r1.11 DOMNamedNodeMapImpl.cpp
130a131
 > 		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


Mime
View raw message