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

- tree.c: fixed xmlNodeGetContent, it was not recursing on child

- parserInternals.[ch]: trying to speed up parsing
- xpath.c : speeded up node set equality op
Daniel
This commit is contained in:
Daniel Veillard
2001-02-21 03:07:44 +00:00
parent bca64ef1c6
commit f714aa3262
6 changed files with 155 additions and 29 deletions

View File

@ -1256,6 +1256,10 @@ xmlCurrentChar(xmlParserCtxtPtr ctxt, int *len) {
*len = 0;
return(ctxt->token);
}
if ((*ctxt->input->cur >= 0x20) && (*ctxt->input->cur <= 0x7F)) {
*len = 1;
return((int) *ctxt->input->cur);
}
if (ctxt->charset == XML_CHAR_ENCODING_UTF8) {
/*
* We are supposed to handle UTF8, check it's valid