testURI.c revision d46ee884c41b808b239563b1978468aae12e33a2
/*
* testURI.c : a small tester program for XML input.
*
* See Copyright for the status of this software.
*
* daniel@veillard.com
*/
#include "libxml.h"
#include <string.h>
#include <stdio.h>
#include <stdarg.h>
#include <libxml/xmlmemory.h>
static int escape = 0;
int ret;
uri = xmlCreateURI();
if (ret != 0)
else {
if (escape != 0) {
} else {
printf("\n");
}
}
} else {
}
else
printf("::ERROR::\n");
}
}
int i, arg = 1;
arg++;
arg++;
}
arg++;
escape++;
}
char str[1024];
while (1) {
/*
* read one line in string buffer.
*/
break;
/*
* remove the ending spaces
*/
while ((i > 0) &&
i--;
str[i] = 0;
}
}
} else {
arg++;
}
}
return(0);
}