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:
5
xpath.c
5
xpath.c
@ -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++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user