1
0
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:
Daniel Veillard
2003-02-05 13:19:53 +00:00
parent ec498e1b33
commit 71531f3345
153 changed files with 654 additions and 4380 deletions

View File

@ -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():