Hi everyone,
I noticed a small typo in AttrImpl ('==' instead of '='). It shouldn't
make a difference behaviourly because it looks like DOMString's destructor
reduces the ref count of fHandle if not done explicitly.
Index: xml-xerces/c/src/xercesc/dom/deprecated/AttrImpl.cpp
===================================================================
RCS file:
/home/cvspublic/xml-xerces/c/src/xercesc/dom/deprecated/AttrImpl.cpp,v
retrieving revision 1.7
diff -u -r1.7 AttrImpl.cpp
--- xml-xerces/c/src/xercesc/dom/deprecated/AttrImpl.cpp 27 May
2003 03:51:07 -0000 1.7
+++ xml-xerces/c/src/xercesc/dom/deprecated/AttrImpl.cpp 27 May
2003 15:30:32 -0000
@@ -132,7 +132,7 @@
{
if(value.str != null)
{
- *(value.str) == null;
+ *(value.str) = null;
delete value.str;
value.str = null;
}
@@ -161,7 +161,7 @@
// DOMString* and setting the value field to null
if(value.str != null)
{
- *(value.str) == null;
+ *(value.str) = null;
delete value.str;
value.str = null;
}
-----------------------------------------
Michael Glavassevich
[EMAIL PROTECTED]
Candidate for Bachelor of Applied Science
Computer Engineering
University of Waterloo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]