diff options
-rw-r--r-- | third_party/libxslt/README.chromium | 3 | ||||
-rw-r--r-- | third_party/libxslt/libxslt/xsltutils.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/third_party/libxslt/README.chromium b/third_party/libxslt/README.chromium index de18197..4b60c21 100644 --- a/third_party/libxslt/README.chromium +++ b/third_party/libxslt/README.chromium @@ -40,7 +40,8 @@ done --- Current version: 1.1.26, plus the following patches: - A fix to get more compact generated IDs (http://git.gnome.org/browse/libxslt/commit/?id=ecb6bcb8d1b7e44842edde3929f412d46b40c89f) -- Import pattern parsing fix for commit: http://git.gnome.org/browse/libxslt/commit/?id=fe5a4fa33eb85bce3253ed3742b1ea6c4b59b41b +- Import pattern parsing fix for commit: http://git.gnome.org/browse/libxslt/commit/?id=fe5a4fa33eb85bce3253ed3742b1ea6c4b59b41b +- A fix for XSLT node checking (from upstream, commit pending). To import a new snapshot of libxslt: diff --git a/third_party/libxslt/libxslt/xsltutils.h b/third_party/libxslt/libxslt/xsltutils.h index 3886be3..c986a9c 100644 --- a/third_party/libxslt/libxslt/xsltutils.h +++ b/third_party/libxslt/libxslt/xsltutils.h @@ -52,8 +52,8 @@ extern "C" { * Checks that the element pertains to XSLT namespace. */ #define IS_XSLT_ELEM(n) \ - (((n) != NULL) && ((n)->ns != NULL) && \ - (xmlStrEqual((n)->ns->href, XSLT_NAMESPACE))) + (((n) != NULL) && ((n)->type == XML_ELEMENT_NODE) && \ + ((n)->ns != NULL) && (xmlStrEqual((n)->ns->href, XSLT_NAMESPACE))) /** * IS_XSLT_NAME: |