made powten array static it should not be exported fix bug #107361 by
* xmlschemastype.c: made powten array static it should not be exported
* HTMLparser.c: fix bug #107361 by reusing the code from the XML
parser function.
* testHTML.c: get rid of valgrind messages on the HTML SAX tests
Daniel
diff --git a/testHTML.c b/testHTML.c
index dbfccc3..3709afe 100644
--- a/testHTML.c
+++ b/testHTML.c
@@ -375,7 +375,8 @@
while ((attlen = strlen((char*)att)) > 0) {
outlen = sizeof output - 1;
htmlEncodeEntities(output, &outlen, att, &attlen, '\'');
- fprintf(stdout, "%.*s", outlen, output);
+ output[outlen] = 0;
+ fprintf(stdout, "%s", output);
att += attlen;
}
fprintf(stdout, "'");