auriemma    00/11/21 12:54:14

  Modified:    c/src/PlatformSupport DOMStringHelper.hpp
  Log:
  Fixed bug with Xerces DOMString as string class.
  
  Revision  Changes    Path
  1.35      +6 -2      xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp
  
  Index: DOMStringHelper.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- DOMStringHelper.hpp       2000/11/20 21:31:25     1.34
  +++ DOMStringHelper.hpp       2000/11/21 20:54:14     1.35
  @@ -1986,7 +1986,7 @@
        }
        else
        {
  -             append(theString, XalanDOMString(theStringToAppend, 
theStringToAppendLength);
  +             append(theString, XalanDOMString(theStringToAppend, 
theStringToAppendLength));
        }
   #endif
   
  @@ -2018,7 +2018,11 @@
        }
        else
        {
  -             append(theString, XalanDOMString(theStringToAppend, 
theStringToAppendLength);
  +             CharVectorType  theTemp(theStringToAppend, theStringToAppend + 
theStringToAppendLength);
  +
  +             theTemp.push_back(char(0));
  +
  +             append(theString, XalanDOMString(&theTemp[0]));
        }
   #endif
   
  
  
  

Reply via email to