1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-26 10:03:34 +03:00

- parser.c: Stephan Kulow also raised the fact that line number

could get miscounted making debug harder, fixed the problem
  in xmlParseCharData()
Daniel
This commit is contained in:
Daniel Veillard 2001-06-17 17:58:17 +00:00
parent 64b98c0ab4
commit 3ed27bdef0
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Sun Jun 17 19:56:33 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* parser.c: Stephan Kulow also raised the fact that line number
could get miscounted making debug harder, fixed the problem
in xmlParseCharData()
Sun Jun 17 19:17:26 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* valid.c: Stephan Kulow pointed out a problem when validating

View File

@ -2509,10 +2509,14 @@ get_more:
ctxt->sax->characters(ctxt->userData,
tmp, nbchar);
}
line = ctxt->input->line;
col = ctxt->input->col;
} else {
if (ctxt->sax->characters != NULL)
ctxt->sax->characters(ctxt->userData,
ctxt->input->cur, nbchar);
line = ctxt->input->line;
col = ctxt->input->col;
}
}
ctxt->input->cur = in;