mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +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:
@ -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>
|
Sun Jun 17 19:17:26 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||||
|
|
||||||
* valid.c: Stephan Kulow pointed out a problem when validating
|
* 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,
|
ctxt->sax->characters(ctxt->userData,
|
||||||
tmp, nbchar);
|
tmp, nbchar);
|
||||||
}
|
}
|
||||||
|
line = ctxt->input->line;
|
||||||
|
col = ctxt->input->col;
|
||||||
} else {
|
} else {
|
||||||
if (ctxt->sax->characters != NULL)
|
if (ctxt->sax->characters != NULL)
|
||||||
ctxt->sax->characters(ctxt->userData,
|
ctxt->sax->characters(ctxt->userData,
|
||||||
ctxt->input->cur, nbchar);
|
ctxt->input->cur, nbchar);
|
||||||
|
line = ctxt->input->line;
|
||||||
|
col = ctxt->input->col;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ctxt->input->cur = in;
|
ctxt->input->cur = in;
|
||||||
|
Reference in New Issue
Block a user