kc3-lang/libxml2

Branch :


Log

Author Commit Date CI Message
7cb3fa9d 2006-06-06 15:27:46 Fixed self-invented a segfault in xmlXPathCtxtCompile(), when the * xpath.c: Fixed self-invented a segfault in xmlXPathCtxtCompile(), when the expression was not valid and @comp was NULL and I tried to do the d-o-s rewrite.
69839ba1 2006-06-06 13:27:03 preparing release of 2.6.25 Daniel * configure.ini NEWS doc//* libxml.spec.in : preparing release of 2.6.25 Daniel
080152c9 2006-06-06 09:42:15 Enabled the compound traversal again; I added a check to use this only if * xpath.c: Enabled the compound traversal again; I added a check to use this only if the have an expression starting with the document node; so in the case of "//foo", we already know at compilation-time, that there will be only 1 initial context node. Added the rewrite also to xmlXPathEvalExpr().
bf630c0d 2006-06-06 08:21:41 fix bug #343968, include='text' can't lead to a recursion. Daniel * xinclude.c: fix bug #343968, include='text' can't lead to a recursion. Daniel
c42e9f64 2006-06-02 20:48:50 Disabled the compound traversal for the release; I need first to assure * xpath.c: Disabled the compound traversal for the release; I need first to assure that this is done only if we have 1 initial node.
1b2be101 2006-05-31 20:53:43 fixed memory leak in xpath error reporting * xpath.c: fixed memory leak in xpath error reporting
f79fbfc0 2006-05-31 13:35:28 applied patch from Olli Savia for LynxOS Daniel * libxml.h triodef.h: applied patch from Olli Savia for LynxOS Daniel
5869469f 2006-05-31 12:37:28 Changed the name of the recently added public function * xpath.c include/libxml/xpath.h runsuite.c: Changed the name of the recently added public function xmlXPathContextSetObjectCache() to xmlXPathContextSetCache(); so a more generic one, in case we decide to cache more things than only XPath objects.
df0ba264 2006-05-30 19:45:37 Optimized xmlXPathNodeCollectAndTest() and xmlXPathNodeCollectAndTestNth() * xpath.c: Optimized xmlXPathNodeCollectAndTest() and xmlXPathNodeCollectAndTestNth() to evaluate a compound traversal of 2 axes when we have a "//foo" expression. This is done with a rewrite of the XPath AST in xmlXPathRewriteDOSExpression(); I added an additional field to xmlXPathStepOp for this (but the field's name should be changed). The mechanism: the embracing descendant-or-self axis traversal (also optimized to return only nodes which can hold elements), will produce context nodes for the inner traversal of the child axis. This way we avoid a full node-collecting traversal of the descendant-or-self axis. Some tests indicate that this can reduce execution time of "//foo" to 50%. Together with the XPath object cache this all significantly speeds up libxslt.
e5f810f6 2006-05-30 09:41:25 A warning will now be reported in the value of the XSD attribute * xmlschemas.c: A warning will now be reported in the value of the XSD attribute 'schemaLocation' does not consist of tuples (namespace-name, document-URI). A warning will be reported if a schema document could not be found at the specified location (via 'schemaLocation' or 'noNamespaceSchemaLocation'). * include/libxml/xmlerror.h: Added XML_SCHEMAV_MISC to xmlParserErrors.