mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +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:
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;
|
||||
|
Reference in New Issue
Block a user