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

Bunch of updates, progressive parsing, updates on HTML, XPAth and docs, Daniel

This commit is contained in:
Daniel Veillard
1999-07-27 19:52:06 +00:00
parent 15b75af8fa
commit e2d034d3b5
71 changed files with 4825 additions and 4358 deletions

View File

@ -388,7 +388,12 @@ endElementDebug(xmlParserCtxtPtr ctxt, const CHAR *name)
void
charactersDebug(xmlParserCtxtPtr ctxt, const CHAR *ch, int len)
{
fprintf(stdout, "SAX.characters(%.30s, %d)\n", (char *) ch, len);
int i;
fprintf(stdout, "SAX.characters(");
for (i = 0;(i < len) && (i < 30);i++)
fprintf(stdout, "%c", ch[i]);
fprintf(stdout, ", %d)\n", len);
}
/**