mirror of
https://github.com/GNOME/libxml2.git
synced 2025-03-25 19:01:31 +08:00
- xpath.c: Bjorn found the error related to strictness of comparison.
Daniel
This commit is contained in:
parent
29631a8901
commit
4af6b6e801
@ -1,3 +1,7 @@
|
||||
Tue Mar 6 09:21:30 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||
|
||||
* xpath.c: Bjorn found the error related to strictness of comparison.
|
||||
|
||||
Mon Mar 5 21:47:31 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||
|
||||
* parser.c: trying to fix the Dtd parsing problem reported
|
||||
|
6
xpath.c
6
xpath.c
@ -2571,9 +2571,11 @@ xmlXPathCompareValues(xmlXPathParserContextPtr ctxt, int inf, int strict) {
|
||||
ret = xmlXPathCompareNodeSets(ctxt, inf, strict, arg1, arg2);
|
||||
} else {
|
||||
if (arg1->type == XPATH_NODESET) {
|
||||
ret = xmlXPathCompareNodeSetValue(ctxt, inf, strict, arg1, arg2);
|
||||
ret = xmlXPathCompareNodeSetValue(ctxt, inf, strict,
|
||||
arg1, arg2);
|
||||
} else {
|
||||
ret = xmlXPathCompareNodeSetValue(ctxt, !inf, !strict, arg2, arg1);
|
||||
ret = xmlXPathCompareNodeSetValue(ctxt, !inf, strict,
|
||||
arg2, arg1);
|
||||
}
|
||||
}
|
||||
return(ret);
|
||||
|
Loading…
x
Reference in New Issue
Block a user