1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

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
This commit is contained in:
Daniel Veillard
2003-03-05 10:01:43 +00:00
parent 710823bf6e
commit 5f704afe98
4 changed files with 22 additions and 3 deletions

View File

@ -375,7 +375,8 @@ startElementDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name, const xmlChar
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, "'");