1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

Bugfixes, extesion and optimizations for XSLT:

- xpath.c: removed an error found by XSLT usage
- tree.c parserInternals.h: use a predefined static string
  for text and comment nodes, avoid freeing them in xmlFreeNode,
  exported the string name in parserInternals.h and added
  another value to disable encoding at output (for XSLT),
  gain memory, time.
Daniel
This commit is contained in:
Daniel Veillard
2001-01-18 12:17:12 +00:00
parent ccc86a75a8
commit f6eea27b38
6 changed files with 64 additions and 15 deletions

View File

@ -4326,7 +4326,7 @@ xmlXPathParseQName(xmlXPathParserContextPtr ctxt, xmlChar **prefix) {
/**
* xmlXPathParseName:
* @ctxt: the XPointer Parser context
* @ctxt: the XPath Parser context
*
* parse an XML name
*
@ -4863,7 +4863,8 @@ xmlXPathEvalPathExpr(xmlXPathParserContextPtr ctxt) {
lc = 1;
break;
} else {
XP_ERROR(XPATH_EXPR_ERROR);
lc = 1;
break;
}
len++;
}