You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2004/07/20 07:18:13 UTC

cvs commit: ws-axis/c/src/xml/txpp/examples test1.c test2.c

damitha     2004/07/19 22:18:13

  Modified:    c/src/xml/txpp/examples test1.c test2.c
  Log:
  
  
  Revision  Changes    Path
  1.4       +6 -6      ws-axis/c/src/xml/txpp/examples/test1.c
  
  Index: test1.c
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/xml/txpp/examples/test1.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- test1.c	19 Jul 2004 03:30:43 -0000	1.3
  +++ test1.c	20 Jul 2004 05:18:13 -0000	1.4
  @@ -14,7 +14,7 @@
    *   limitations under the License.
    */
   
  -#include "../lib/xpp.h"
  +#include "../lib/spp.h"
   
   char *tn[] = {"START_TAG", "END_TAG", "EMPTY_ELEMENT_TAG", "PCDATA"};
   
  @@ -33,12 +33,12 @@
                   printf("\n%s\n", tn[data->type]);
                   int ii = 0;
           char temp;
  -                while (ii < data->numOfPtrsUtf8) 
  +                while (ii < data->numOfPtrs) 
                   {
  -                        temp = data->utf8PtrBuff[ii+1][1];
  -                        data->utf8PtrBuff[ii+1][1] = '\0';
  -                        printf("%s\n", data->utf8PtrBuff[ii]);
  -                        data->utf8PtrBuff[ii+1][1] = temp;
  +                        temp = data->ptrBuff[ii+1][1];
  +                        data->ptrBuff[ii+1][1] = '\0';
  +                        printf("%s\n", data->ptrBuff[ii]);
  +                        data->ptrBuff[ii+1][1] = temp;
                           
                           ii += 2;
                   }
  
  
  
  1.4       +1 -1      ws-axis/c/src/xml/txpp/examples/test2.c
  
  Index: test2.c
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/xml/txpp/examples/test2.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- test2.c	19 Jul 2004 03:30:43 -0000	1.3
  +++ test2.c	20 Jul 2004 05:18:13 -0000	1.4
  @@ -14,7 +14,7 @@
    *   limitations under the License.
    */
   
  -#include "../lib/xpp.h"
  +#include "../lib/spp.h"
   
   char *tn[] = {"START_TAG", "END_TAG", "EMPTY_ELEMENT_TAG", "PCDATA"};