diff options
author | Daniel Veillard <veillard@redhat.com> | 2012-09-07 14:24:50 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-09-07 14:24:50 +0800 |
commit | 47881284aeaeeb93b3444419adeffc9e11ed1093 (patch) | |
tree | ecaee15c2ebf20449e0cb6d96b75c84fe4aae5f5 /include | |
parent | 55b899a23acfa2e1bb36026b50a8f7cb36dc4fda (diff) | |
download | libxml2-47881284aeaeeb93b3444419adeffc9e11ed1093.tar.gz |
Add a forbidden variable error number and message to XPath
Related to https://bugzilla.gnome.org/show_bug.cgi?id=680938
When the XML_XPATH_NOVAR flags is being used it means that
variables are forbidden, not that they are missing
Diffstat (limited to 'include')
-rw-r--r-- | include/libxml/xpath.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libxml/xpath.h b/include/libxml/xpath.h index ddd9dd82..3a5ca025 100644 --- a/include/libxml/xpath.h +++ b/include/libxml/xpath.h @@ -69,7 +69,8 @@ typedef enum { XPATH_ENCODING_ERROR, XPATH_INVALID_CHAR_ERROR, XPATH_INVALID_CTXT, - XPATH_STACK_ERROR + XPATH_STACK_ERROR, + XPATH_FORBID_VARIABLE_ERROR } xmlXPathError; /* |