mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-07 12:21:17 +03:00
comments cleanups use xmllint for doing the RelaxNG tests preparing 2.5.2
* HTMLparser.c tree.c xmlIO.c: comments cleanups * Makefile.am: use xmllint for doing the RelaxNG tests * configure.in: preparing 2.5.2 made schemas support default to on instead of off * relaxng.c: removed the verbosity * xmllint.c: added --relaxng option * python/generator.py python/libxml_wrap.h: prepared the integration of the new RelaxNG module and schemas * result/relaxng/*: less verbose output Daniel
This commit is contained in:
@ -420,6 +420,11 @@ def print_function_wrapper(name, output, export, include):
|
||||
include.write("#ifdef LIBXML_REGEXP_ENABLED\n");
|
||||
export.write("#ifdef LIBXML_REGEXP_ENABLED\n");
|
||||
output.write("#ifdef LIBXML_REGEXP_ENABLED\n");
|
||||
elif file == "xmlschemas" or file == "xmlschemastypes" or \
|
||||
file == "relaxng":
|
||||
include.write("#ifdef LIBXML_SCHEMAS_ENABLED\n");
|
||||
export.write("#ifdef LIBXML_SCHEMAS_ENABLED\n");
|
||||
output.write("#ifdef LIBXML_SCHEMAS_ENABLED\n");
|
||||
|
||||
include.write("PyObject * ")
|
||||
include.write("libxml_%s(PyObject *self, PyObject *args);\n" % (name));
|
||||
@ -483,6 +488,11 @@ def print_function_wrapper(name, output, export, include):
|
||||
include.write("#endif /* LIBXML_REGEXP_ENABLED */\n");
|
||||
export.write("#endif /* LIBXML_REGEXP_ENABLED */\n");
|
||||
output.write("#endif /* LIBXML_REGEXP_ENABLED */\n");
|
||||
elif file == "xmlschemas" or file == "xmlschemastypes" or \
|
||||
file == "relaxng":
|
||||
include.write("#endif /* LIBXML_SCHEMAS_ENABLED */\n");
|
||||
export.write("#endif /* LIBXML_SCHEMAS_ENABLED */\n");
|
||||
output.write("#endif /* LIBXML_SCHEMAS_ENABLED */\n");
|
||||
return 1
|
||||
|
||||
def buildStubs():
|
||||
|
Reference in New Issue
Block a user