[Lxml-checkins] r46577 - in lxml/branch/lxml-1.3: . doc

scoder at codespeak.net scoder at codespeak.net
Fri Sep 14 13:36:30 CEST 2007


Author: scoder
Date: Fri Sep 14 13:36:30 2007
New Revision: 46577

Modified:
   lxml/branch/lxml-1.3/INSTALL.txt
   lxml/branch/lxml-1.3/doc/FAQ.txt
Log:
warning about using libxml2 2.6.27 with XPath

Modified: lxml/branch/lxml-1.3/INSTALL.txt
==============================================================================
--- lxml/branch/lxml-1.3/INSTALL.txt	(original)
+++ lxml/branch/lxml-1.3/INSTALL.txt	Fri Sep 14 13:36:30 2007
@@ -11,7 +11,7 @@
 * libxml 2.6.20 or later. It can be found here:
   http://xmlsoft.org/downloads.html
 
-  If you want to use XPath reliably, try to avoid libxml2 2.6.27.
+  If you want to use XPath, do not use libxml2 2.6.27.
 
 * libxslt 1.1.15 or later. It can be found here:
   http://xmlsoft.org/XSLT/downloads.html

Modified: lxml/branch/lxml-1.3/doc/FAQ.txt
==============================================================================
--- lxml/branch/lxml-1.3/doc/FAQ.txt	(original)
+++ lxml/branch/lxml-1.3/doc/FAQ.txt	Fri Sep 14 13:36:30 2007
@@ -175,6 +175,11 @@
 It really depends on your application, but the rule of thumb is: more recent
 versions contain less bugs and provide more features.
 
+* Do not use libxml2 2.6.27 if you want to use XPath (including XSLT).  You
+  will get crashes when XPath errors occur during the evaluation (e.g. for
+  unknown functions).  This happens inside the evaluation call to libxml2, so
+  there is nothing that lxml can do about it.
+
 * Try to use versions of both libraries that were released together.  At least
   the libxml2 version should not be older than the libxslt version.
 


More information about the lxml-checkins mailing list