You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ab...@locus.apache.org on 2000/02/11 04:05:35 UTC

cvs commit: xml-xerces/c/samples/SAXPrint SAXPrintHandlers.cpp

abagchi     00/02/10 19:05:35

  Modified:    c/samples/SAXPrint SAXPrintHandlers.cpp
  Log:
  Removed second parameter from call to StrX constructor
  
  Revision  Changes    Path
  1.3       +6 -3      xml-xerces/c/samples/SAXPrint/SAXPrintHandlers.cpp
  
  Index: SAXPrintHandlers.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/SAXPrint/SAXPrintHandlers.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SAXPrintHandlers.cpp	2000/02/06 07:47:24	1.2
  +++ SAXPrintHandlers.cpp	2000/02/11 03:05:35	1.3
  @@ -56,6 +56,9 @@
   
   /**
    * $Log: SAXPrintHandlers.cpp,v $
  + * Revision 1.3  2000/02/11 03:05:35  abagchi
  + * Removed second parameter from call to StrX constructor
  + *
    * Revision 1.2  2000/02/06 07:47:24  rahulj
    * Year 2K copyright swat.
    *
  @@ -146,8 +149,8 @@
                                     , const   unsigned int    length)
   {
       // Transcode to UTF-8 for portable display
  -    StrX tmpXCode(chars, length);
  -	const char* tmpText = tmpXCode.localForm();
  +    StrX tmpXCode(chars);
  +    const char* tmpText = tmpXCode.localForm();
   
       //
       //  If we were asked to escape special chars, then do that. Else just
  @@ -200,7 +203,7 @@
   void SAXPrintHandlers::ignorableWhitespace( const   XMLCh* const chars
                                               ,const  unsigned int length)
   {
  -    cout << StrX(chars, length);
  +    cout << StrX(chars);
   }
   
   void SAXPrintHandlers::processingInstruction(const  XMLCh* const target