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:
parent
64b98c0ab4
commit
3ed27bdef0
@ -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
|
||||
|
4
parser.c
4
parser.c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user