mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-23 01:52:48 +03:00
changed xmlPatterncompile signature to pass an int and not an enum since
* pattern.c include/libxml/pattern.h: changed xmlPatterncompile signature to pass an int and not an enum since it can generate ABI compat troubles. * include/libxml/schematron.h schematron.c: adding the new schematron code, work in progress lots to be left and needing testing * include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in Makefile.am configure.in: integration of schematron into the build * xpath.c include/libxml/xpath.h: adding flags to control compilation options right now just XML_XPATH_CHECKNS. Daniel
This commit is contained in:
@@ -248,6 +248,14 @@ typedef xmlXPathFunction (*xmlXPathFuncLookupFunc) (void *ctxt,
|
||||
const xmlChar *name,
|
||||
const xmlChar *ns_uri);
|
||||
|
||||
/**
|
||||
* xmlXPathFlags:
|
||||
* Flags for XPath engine compilation and runtime
|
||||
*/
|
||||
typedef enum {
|
||||
XML_XPATH_CHECKNS = 1 /* check namespaces at compilation */
|
||||
} xmlXPathFlags;
|
||||
|
||||
/**
|
||||
* xmlXPathContext:
|
||||
*
|
||||
@@ -324,6 +332,8 @@ struct _xmlXPathContext {
|
||||
|
||||
/* dictionnary */
|
||||
xmlDictPtr dict; /* dictionnary if any */
|
||||
|
||||
int flags; /* flags to control compilation */
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user