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

patch from Richard Jinks for XPath substring() function new set of tests

* xpath.c: patch from Richard Jinks for XPath substring() function
* result/XPath/expr/strings test/XPath/expr/strings: new set of tests
Daniel
This commit is contained in:
Daniel Veillard
2002-06-10 15:59:44 +00:00
parent 9c45ba8f56
commit 9e4123023a
7 changed files with 113 additions and 33 deletions

View File

@ -143,6 +143,7 @@ xmlCleanupInputCallbacks(void)
xmlInputCallbackTable[i].readcallback = NULL;
xmlInputCallbackTable[i].closecallback = NULL;
}
xmlInputCallbackInitialized = 0;
xmlInputCallbackNr = 0;
xmlInputCallbackInitialized = 0;
@ -168,6 +169,7 @@ xmlCleanupOutputCallbacks(void)
xmlOutputCallbackTable[i].writecallback = NULL;
xmlOutputCallbackTable[i].closecallback = NULL;
}
xmlOutputCallbackInitialized = 0;
xmlOutputCallbackNr = 0;
xmlOutputCallbackInitialized = 0;
@ -2116,7 +2118,7 @@ xmlParserInputBufferGrow(xmlParserInputBufferPtr in, int len) {
int res = 0;
int nbchars = 0;
int buffree;
int needSize;
unsigned int needSize;
if ((len <= MINLEN) && (len != 4))
len = MINLEN;