preparing 2.4.17 release updated and rebuilt the docs fixed a comment
* configure.in: preparing 2.4.17 release
* doc/*: updated and rebuilt the docs
* xpath.c: fixed a comment
* python/libxml.c: fixed a possible reentrancy problem
Daniel
diff --git a/doc/html/libxml-xpath.html b/doc/html/libxml-xpath.html
index 88040a7..b5ecace 100644
--- a/doc/html/libxml-xpath.html
+++ b/doc/html/libxml-xpath.html
@@ -615,7 +615,7 @@
><A
NAME="XMLXPATHCONTEXT"
></A
->>struct xmlXPathContext</H3
+>struct xmlXPathContext</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -685,11 +685,11 @@
><P
>Expression evaluation occurs with respect to a context.
he context consists of:
- - a node (the context node)
- - a node list (the context node list)
- - a set of variable bindings
- - a function library
- - the set of namespace declarations in scope for the expression
+- a node (the context node)
+- a node list (the context node list)
+- a set of variable bindings
+- a function library
+- the set of namespace declarations in scope for the expression
Following the switch to hash tables, this need to be trimmed up at
the next binary incompatible release.</P
><P
@@ -704,7 +704,7 @@
><A
NAME="XMLXPATHCONTEXTPTR"
></A
->>xmlXPathContextPtr</H3
+>xmlXPathContextPtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -730,7 +730,7 @@
><A
NAME="XMLXPATHPARSERCONTEXT"
></A
->>struct xmlXPathParserContext</H3
+>struct xmlXPathParserContext</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -774,7 +774,7 @@
><A
NAME="XMLXPATHPARSERCONTEXTPTR"
></A
->>xmlXPathParserContextPtr</H3
+>xmlXPathParserContextPtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -800,7 +800,7 @@
><A
NAME="XMLXPATHERROR"
></A
->>enum xmlXPathError</H3
+>enum xmlXPathError</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -849,7 +849,7 @@
><A
NAME="XMLNODESET"
></A
->>struct xmlNodeSet</H3
+>struct xmlNodeSet</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -863,6 +863,7 @@
int nodeNr; /* number of nodes in the set */
int nodeMax; /* size of the array as allocated */
xmlNodePtr *nodeTab; /* array of nodes in no particular order */
+ /* @@ with_ns to check wether namespace nodes should be looked at @@ */
};</PRE
></TD
></TR
@@ -879,7 +880,7 @@
><A
NAME="XMLNODESETPTR"
></A
->>xmlNodeSetPtr</H3
+>xmlNodeSetPtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -905,7 +906,7 @@
><A
NAME="XMLXPATHOBJECTTYPE"
></A
->>enum xmlXPathObjectType</H3
+>enum xmlXPathObjectType</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -942,7 +943,7 @@
><A
NAME="XMLXPATHOBJECT"
></A
->>struct xmlXPathObject</H3
+>struct xmlXPathObject</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -978,7 +979,7 @@
><A
NAME="XMLXPATHOBJECTPTR"
></A
->>xmlXPathObjectPtr</H3
+>xmlXPathObjectPtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1004,7 +1005,7 @@
><A
NAME="XMLXPATHCONVERTFUNC"
></A
->>xmlXPathConvertFunc ()</H3
+>xmlXPathConvertFunc ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1106,7 +1107,7 @@
><A
NAME="XMLXPATHTYPE"
></A
->>struct xmlXPathType</H3
+>struct xmlXPathType</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1135,7 +1136,7 @@
><A
NAME="XMLXPATHTYPEPTR"
></A
->>xmlXPathTypePtr</H3
+>xmlXPathTypePtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1161,7 +1162,7 @@
><A
NAME="XMLXPATHVARIABLE"
></A
->>struct xmlXPathVariable</H3
+>struct xmlXPathVariable</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1190,7 +1191,7 @@
><A
NAME="XMLXPATHVARIABLEPTR"
></A
->>xmlXPathVariablePtr</H3
+>xmlXPathVariablePtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1216,7 +1217,7 @@
><A
NAME="XMLXPATHEVALFUNC"
></A
->>xmlXPathEvalFunc ()</H3
+>xmlXPathEvalFunc ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1302,7 +1303,7 @@
><A
NAME="XMLXPATHFUNCT"
></A
->>struct xmlXPathFunct</H3
+>struct xmlXPathFunct</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1331,7 +1332,7 @@
><A
NAME="XMLXPATHFUNCPTR"
></A
->>xmlXPathFuncPtr</H3
+>xmlXPathFuncPtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1357,7 +1358,7 @@
><A
NAME="XMLXPATHAXISFUNC"
></A
->>xmlXPathAxisFunc ()</H3
+>xmlXPathAxisFunc ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1466,7 +1467,7 @@
><A
NAME="XMLXPATHAXIS"
></A
->>struct xmlXPathAxis</H3
+>struct xmlXPathAxis</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1495,7 +1496,7 @@
><A
NAME="XMLXPATHAXISPTR"
></A
->>xmlXPathAxisPtr</H3
+>xmlXPathAxisPtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1521,7 +1522,7 @@
><A
NAME="XMLXPATHCOMPEXPR"
></A
->>struct xmlXPathCompExpr</H3
+>struct xmlXPathCompExpr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1537,8 +1538,8 @@
></TABLE
><P
>[14] Expr ::= OrExpr
- [21] OrExpr ::= AndExpr
- | OrExpr 'or' AndExpr </P
+[21] OrExpr ::= AndExpr
+| OrExpr 'or' AndExpr </P
><P
>Parse and compile an expression</P
><P
@@ -1553,7 +1554,7 @@
><A
NAME="XMLXPATHCOMPEXPRPTR"
></A
->>xmlXPathCompExprPtr</H3
+>xmlXPathCompExprPtr</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1579,7 +1580,7 @@
><A
NAME="XMLXPATHFUNCTION"
></A
->>xmlXPathFunction ()</H3
+>xmlXPathFunction ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1667,7 +1668,7 @@
><A
NAME="XMLXPATHISNAN"
></A
->>xmlXPathIsNaN ()</H3
+>xmlXPathIsNaN ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1755,7 +1756,7 @@
><A
NAME="XMLXPATHISINF"
></A
->>xmlXPathIsInf ()</H3
+>xmlXPathIsInf ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1843,7 +1844,7 @@
><A
NAME="XMLXPATHNODESETGETLENGTH"
></A
->>xmlXPathNodeSetGetLength()</H3
+>xmlXPathNodeSetGetLength()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1908,7 +1909,7 @@
><A
NAME="XMLXPATHNODESETITEM"
></A
->>xmlXPathNodeSetItem()</H3
+>xmlXPathNodeSetItem()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -1993,7 +1994,7 @@
><A
NAME="XMLXPATHNODESETISEMPTY"
></A
->>xmlXPathNodeSetIsEmpty()</H3
+>xmlXPathNodeSetIsEmpty()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2063,7 +2064,7 @@
><A
NAME="XMLXPATHFREEOBJECT"
></A
->>xmlXPathFreeObject ()</H3
+>xmlXPathFreeObject ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2131,7 +2132,7 @@
><A
NAME="XMLXPATHNODESETCREATE"
></A
->>xmlXPathNodeSetCreate ()</H3
+>xmlXPathNodeSetCreate ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2222,7 +2223,7 @@
><A
NAME="XMLXPATHFREENODESETLIST"
></A
->>xmlXPathFreeNodeSetList ()</H3
+>xmlXPathFreeNodeSetList ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2299,7 +2300,7 @@
><A
NAME="XMLXPATHFREENODESET"
></A
->>xmlXPathFreeNodeSet ()</H3
+>xmlXPathFreeNodeSet ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2367,7 +2368,7 @@
><A
NAME="XMLXPATHOBJECTCOPY"
></A
->>xmlXPathObjectCopy ()</H3
+>xmlXPathObjectCopy ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2453,7 +2454,7 @@
><A
NAME="XMLXPATHCMPNODES"
></A
->>xmlXPathCmpNodes ()</H3
+>xmlXPathCmpNodes ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2541,7 +2542,7 @@
ALIGN="LEFT"
VALIGN="TOP"
>-2 in case of error 1 if first point < second point, 0 if
- that's the same node, -1 otherwise</TD
+that's the same node, -1 otherwise</TD
></TR
></TBODY
></TABLE
@@ -2558,7 +2559,7 @@
><A
NAME="XMLXPATHCASTNUMBERTOBOOLEAN"
></A
->>xmlXPathCastNumberToBoolean ()</H3
+>xmlXPathCastNumberToBoolean ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2641,7 +2642,7 @@
><A
NAME="XMLXPATHCASTSTRINGTOBOOLEAN"
></A
->>xmlXPathCastStringToBoolean ()</H3
+>xmlXPathCastStringToBoolean ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2724,7 +2725,7 @@
><A
NAME="XMLXPATHCASTNODESETTOBOOLEAN"
></A
->>xmlXPathCastNodeSetToBoolean ()</H3
+>xmlXPathCastNodeSetToBoolean ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2807,7 +2808,7 @@
><A
NAME="XMLXPATHCASTTOBOOLEAN"
></A
->>xmlXPathCastToBoolean ()</H3
+>xmlXPathCastToBoolean ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2890,7 +2891,7 @@
><A
NAME="XMLXPATHCASTBOOLEANTONUMBER"
></A
->>xmlXPathCastBooleanToNumber ()</H3
+>xmlXPathCastBooleanToNumber ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -2973,7 +2974,7 @@
><A
NAME="XMLXPATHCASTSTRINGTONUMBER"
></A
->>xmlXPathCastStringToNumber ()</H3
+>xmlXPathCastStringToNumber ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -3059,7 +3060,7 @@
><A
NAME="XMLXPATHCASTNODETONUMBER"
></A
->>xmlXPathCastNodeToNumber ()</H3
+>xmlXPathCastNodeToNumber ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -3145,7 +3146,7 @@
><A
NAME="XMLXPATHCASTNODESETTONUMBER"
></A
->>xmlXPathCastNodeSetToNumber ()</H3
+>xmlXPathCastNodeSetToNumber ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -3231,7 +3232,7 @@
><A
NAME="XMLXPATHCASTTONUMBER"
></A
->>xmlXPathCastToNumber ()</H3
+>xmlXPathCastToNumber ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -3317,7 +3318,7 @@
><A
NAME="XMLXPATHCASTBOOLEANTOSTRING"
></A
->>xmlXPathCastBooleanToString ()</H3
+>xmlXPathCastBooleanToString ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -3400,7 +3401,7 @@
><A
NAME="XMLXPATHCASTNUMBERTOSTRING"
></A
->>xmlXPathCastNumberToString ()</H3
+>xmlXPathCastNumberToString ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -3486,7 +3487,7 @@
><A
NAME="XMLXPATHCASTNODETOSTRING"
></A
->>xmlXPathCastNodeToString ()</H3
+>xmlXPathCastNodeToString ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -3572,7 +3573,7 @@
><A
NAME="XMLXPATHCASTNODESETTOSTRING"
></A
->>xmlXPathCastNodeSetToString ()</H3
+>xmlXPathCastNodeSetToString ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -3658,7 +3659,7 @@
><A
NAME="XMLXPATHCASTTOSTRING"
></A
->>xmlXPathCastToString ()</H3
+>xmlXPathCastToString ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -3731,13 +3732,13 @@
ALIGN="LEFT"
VALIGN="TOP"
>the string value of the object, NULL in case of error.
- A new string is allocated only if needed (<TT
+A new string is allocated only if needed (<TT
CLASS="PARAMETER"
><I
>val</I
></TT
> isn't a
- string object).</TD
+string object).</TD
></TR
></TBODY
></TABLE
@@ -3754,7 +3755,7 @@
><A
NAME="XMLXPATHCONVERTBOOLEAN"
></A
->>xmlXPathConvertBoolean ()</H3
+>xmlXPathConvertBoolean ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -3827,7 +3828,7 @@
ALIGN="LEFT"
VALIGN="TOP"
>the new object, the old one is freed (or the operation
- is done directly on <TT
+is done directly on <TT
CLASS="PARAMETER"
><I
>val</I
@@ -3849,7 +3850,7 @@
><A
NAME="XMLXPATHCONVERTNUMBER"
></A
->>xmlXPathConvertNumber ()</H3
+>xmlXPathConvertNumber ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -3922,7 +3923,7 @@
ALIGN="LEFT"
VALIGN="TOP"
>the new object, the old one is freed (or the operation
- is done directly on <TT
+is done directly on <TT
CLASS="PARAMETER"
><I
>val</I
@@ -3944,7 +3945,7 @@
><A
NAME="XMLXPATHCONVERTSTRING"
></A
->>xmlXPathConvertString ()</H3
+>xmlXPathConvertString ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -4017,7 +4018,7 @@
ALIGN="LEFT"
VALIGN="TOP"
>the new object, the old one is freed (or the operation
- is done directly on <TT
+is done directly on <TT
CLASS="PARAMETER"
><I
>val</I
@@ -4039,7 +4040,7 @@
><A
NAME="XMLXPATHINIT"
></A
->>xmlXPathInit ()</H3
+>xmlXPathInit ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -4067,7 +4068,7 @@
><A
NAME="XMLXPATHNEWCONTEXT"
></A
->>xmlXPathNewContext ()</H3
+>xmlXPathNewContext ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -4136,7 +4137,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
->the xmlXPathContext just allocated.</TD
+>the xmlXPathContext just allocated. The caller will need to free it.</TD
></TR
></TBODY
></TABLE
@@ -4153,7 +4154,7 @@
><A
NAME="XMLXPATHFREECONTEXT"
></A
->>xmlXPathFreeContext ()</H3
+>xmlXPathFreeContext ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -4221,7 +4222,7 @@
><A
NAME="XMLXPATHEVAL"
></A
->>xmlXPathEval ()</H3
+>xmlXPathEval ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -4312,7 +4313,7 @@
ALIGN="LEFT"
VALIGN="TOP"
>the xmlXPathObjectPtr resulting from the evaluation or NULL.
- the caller has to free the object.</TD
+the caller has to free the object.</TD
></TR
></TBODY
></TABLE
@@ -4329,7 +4330,7 @@
><A
NAME="XMLXPATHEVALEXPRESSION"
></A
->>xmlXPathEvalExpression ()</H3
+>xmlXPathEvalExpression ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -4420,7 +4421,7 @@
ALIGN="LEFT"
VALIGN="TOP"
>the xmlXPathObjectPtr resulting from the evaluation or NULL.
- the caller has to free the object.</TD
+the caller has to free the object.</TD
></TR
></TBODY
></TABLE
@@ -4437,7 +4438,7 @@
><A
NAME="XMLXPATHEVALPREDICATE"
></A
->>xmlXPathEvalPredicate ()</H3
+>xmlXPathEvalPredicate ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -4548,7 +4549,7 @@
><A
NAME="XMLXPATHCOMPILE"
></A
->>xmlXPathCompile ()</H3
+>xmlXPathCompile ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -4618,7 +4619,7 @@
ALIGN="LEFT"
VALIGN="TOP"
>the xmlXPathObjectPtr resulting from the evaluation or NULL.
- the caller has to free the object.</TD
+the caller has to free the object.</TD
></TR
></TBODY
></TABLE
@@ -4635,7 +4636,7 @@
><A
NAME="XMLXPATHCOMPILEDEVAL"
></A
->>xmlXPathCompiledEval ()</H3
+>xmlXPathCompiledEval ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -4726,7 +4727,7 @@
ALIGN="LEFT"
VALIGN="TOP"
>the xmlXPathObjectPtr resulting from the evaluation or NULL.
- the caller has to free the object.</TD
+the caller has to free the object.</TD
></TR
></TBODY
></TABLE
@@ -4743,7 +4744,7 @@
><A
NAME="XMLXPATHFREECOMPEXPR"
></A
->>xmlXPathFreeCompExpr ()</H3
+>xmlXPathFreeCompExpr ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"