From ca8d2a3a9eeadb5e4046ce014833b024f4eab09b Mon Sep 17 00:00:00 2001
From: fritzkink <96341974+fritzkink@users.noreply.github.com>
Date: Tue, 28 Nov 2023 07:59:29 +0100
Subject: [PATCH] libxml2 - update to version 2.12.1

---
 /dev/null                                                |   21 -------
 components/library/libxml2/manifests/sample-manifest.p5m |    2 
 components/library/libxml2/Makefile                      |    7 +-
 components/library/libxml2/libxml2-39.p5m                |    2 
 components/library/libxml2/pkg5                          |    4 
 components/library/libxml2/test/results-32.master        |   56 +++++++++++++-----
 components/library/libxml2/test/results-64.master        |   56 +++++++++++++-----
 7 files changed, 89 insertions(+), 59 deletions(-)

diff --git a/components/library/libxml2/Makefile b/components/library/libxml2/Makefile
index 4f17ed6..cd8b91e 100644
--- a/components/library/libxml2/Makefile
+++ b/components/library/libxml2/Makefile
@@ -30,14 +30,13 @@
 include ../../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		libxml2
-COMPONENT_VERSION=	2.10.4
-COMPONENT_REVISION=	1
+COMPONENT_VERSION=	2.12.1
 COMPONENT_SUMMARY=	Libxml2 is the XML C parser and toolkit developed for the Gnome project
 COMPONENT_PROJECT_URL=	https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home
 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_ARCHIVE=	$(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.xz
-COMPONENT_ARCHIVE_HASH=	sha256:ed0c91c5845008f1936739e4eee2035531c1c94742c6541f44ee66d885948d45
-COMPONENT_ARCHIVE_URL=	https://download.gnome.org/sources/libxml2/2.10/$(COMPONENT_ARCHIVE)
+COMPONENT_ARCHIVE_HASH=	sha256:8982b9ccdf7f456e30d8f7012d50858c6623e495333b6191def455c7e95427eb
+COMPONENT_ARCHIVE_URL=	https://download.gnome.org/sources/libxml2/2.12/$(COMPONENT_ARCHIVE)
 COMPONENT_FMRI=		library/libxml2
 COMPONENT_CLASSIFICATION=System/Libraries
 COMPONENT_LICENSE=	Copyright
diff --git a/components/library/libxml2/libxml2-39.p5m b/components/library/libxml2/libxml2-39.p5m
index 699a1bc..ecdcedf 100644
--- a/components/library/libxml2/libxml2-39.p5m
+++ b/components/library/libxml2/libxml2-39.p5m
@@ -39,7 +39,6 @@
 file path=usr/lib/python$(PYVER)/vendor-packages/libxml2.py
 file path=usr/lib/python$(PYVER)/vendor-packages/libxml2mod.so
 
-file path=usr/share/doc/libxml2/python/TODO
 file path=usr/share/doc/libxml2/python/examples/attribs.py
 file path=usr/share/doc/libxml2/python/examples/build.py
 file path=usr/share/doc/libxml2/python/examples/compareNodes.py
@@ -71,6 +70,7 @@
 file path=usr/share/doc/libxml2/python/examples/resolver.py
 file path=usr/share/doc/libxml2/python/examples/schema.py
 file path=usr/share/doc/libxml2/python/examples/serialize.py
+file path=usr/share/doc/libxml2/python/examples/setup_test.py
 file path=usr/share/doc/libxml2/python/examples/sync.py
 file path=usr/share/doc/libxml2/python/examples/test.dtd
 file path=usr/share/doc/libxml2/python/examples/thread2.py
diff --git a/components/library/libxml2/manifests/sample-manifest.p5m b/components/library/libxml2/manifests/sample-manifest.p5m
index 4caca87..449d051 100644
--- a/components/library/libxml2/manifests/sample-manifest.p5m
+++ b/components/library/libxml2/manifests/sample-manifest.p5m
@@ -106,7 +106,6 @@
 file path=usr/share/doc/libxml2/examples/xmllint.c
 file path=usr/share/doc/libxml2/examples/xpath1.c
 file path=usr/share/doc/libxml2/examples/xpath2.c
-file path=usr/share/doc/libxml2/python/TODO
 file path=usr/share/doc/libxml2/python/examples/attribs.py
 file path=usr/share/doc/libxml2/python/examples/build.py
 file path=usr/share/doc/libxml2/python/examples/compareNodes.py
@@ -138,6 +137,7 @@
 file path=usr/share/doc/libxml2/python/examples/resolver.py
 file path=usr/share/doc/libxml2/python/examples/schema.py
 file path=usr/share/doc/libxml2/python/examples/serialize.py
+file path=usr/share/doc/libxml2/python/examples/setup_test.py
 file path=usr/share/doc/libxml2/python/examples/sync.py
 file path=usr/share/doc/libxml2/python/examples/test.dtd
 file path=usr/share/doc/libxml2/python/examples/thread2.py
diff --git a/components/library/libxml2/patches/build.patch b/components/library/libxml2/patches/build.patch
deleted file mode 100644
index 1a1da45..0000000
--- a/components/library/libxml2/patches/build.patch
+++ /dev/null
@@ -1,242 +0,0 @@
-From 0d9012585926d6dc0f9bf563b8302c0f2e54876c Mon Sep 17 00:00:00 2001
-From: Nick Wellnhofer <wellnhofer@aevum.de>
-Date: Sun, 4 Sep 2022 16:41:43 +0200
-Subject: [PATCH] Fix Windows compiler warnings in python/types.c
-
----
- include/libxml/xmlversion.h.in | 44 ++++++++++++++++++++--------------
- libxml.h                       | 12 ----------
- python/libxml_wrap.h           |  5 +---
- python/types.c                 | 33 +++++++++++++------------
- xmlmodule.c                    |  2 +-
- xpath.c                        |  4 ++--
- 6 files changed, 48 insertions(+), 52 deletions(-)
-
-diff --git a/include/libxml/xmlversion.h.in b/include/libxml/xmlversion.h.in
-index dfd3c30f8..e83fb7872 100644
---- a/include/libxml/xmlversion.h.in
-+++ b/include/libxml/xmlversion.h.in
-@@ -409,12 +409,7 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
- #endif
- 
- #ifdef __GNUC__
--
--/**
-- * ATTRIBUTE_UNUSED:
-- *
-- * Macro used to signal to GCC unused function parameters
-- */
-+/** DOC_DISABLE */
- 
- #ifndef ATTRIBUTE_UNUSED
- # if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
-@@ -424,12 +419,6 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
- # endif
- #endif
- 
--/**
-- * LIBXML_ATTR_ALLOC_SIZE:
-- *
-- * Macro used to indicate to GCC this is an allocator function
-- */
--
- #ifndef LIBXML_ATTR_ALLOC_SIZE
- # if (!defined(__clang__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))))
- #  define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
-@@ -440,12 +429,6 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
- # define LIBXML_ATTR_ALLOC_SIZE(x)
- #endif
- 
--/**
-- * LIBXML_ATTR_FORMAT:
-- *
-- * Macro used to indicate to GCC the parameter are printf like
-- */
--
- #ifndef LIBXML_ATTR_FORMAT
- # if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
- #  define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
-@@ -465,6 +448,19 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
- #  endif
- #endif
- 
-+#if defined(__clang__) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 406)
-+#define XML_IGNORE_FPTR_CAST_WARNINGS \
-+    _Pragma("GCC diagnostic push") \
-+    _Pragma("GCC diagnostic ignored \"-Wpedantic\"") \
-+    _Pragma("GCC diagnostic ignored \"-Wcast-function-type\"")
-+#define XML_POP_WARNINGS \
-+    _Pragma("GCC diagnostic pop")
-+#else
-+#define XML_IGNORE_FPTR_CAST_WARNINGS
-+#define XML_POP_WARNINGS
-+#endif
-+
-+/** DOC_ENABLE */
- #else /* ! __GNUC__ */
- /**
-  * ATTRIBUTE_UNUSED:
-@@ -493,6 +489,18 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
- #ifndef XML_DEPRECATED
- #define XML_DEPRECATED
- #endif
-+/**
-+ * LIBXML_IGNORE_FPTR_CAST_WARNINGS:
-+ *
-+ * Macro used to ignore pointer cast warnings that can't be worked around.
-+ */
-+#define XML_IGNORE_FPTR_CAST_WARNINGS
-+/**
-+ * LIBXML_POP_WARNINGS:
-+ *
-+ * Macro used to restore warnings state.
-+ */
-+#define XML_POP_WARNINGS
- #endif /* __GNUC__ */
- 
- #ifdef __cplusplus
-diff --git a/libxml.h b/libxml.h
-index a38f4f7c7..59294473c 100644
---- a/libxml.h
-+++ b/libxml.h
-@@ -54,18 +54,6 @@ int vfprintf(FILE *, const char *, va_list);
- #include "trio.h"
- #endif
- 
--#if defined(__clang__) || \
--    (defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 406))
--#define XML_IGNORE_PEDANTIC_WARNINGS \
--    _Pragma("GCC diagnostic push") \
--    _Pragma("GCC diagnostic ignored \"-Wpedantic\"")
--#define XML_POP_WARNINGS \
--    _Pragma("GCC diagnostic pop")
--#else
--#define XML_IGNORE_PEDANTIC_WARNINGS
--#define XML_POP_WARNINGS
--#endif
--
- #if defined(__clang__) || \
-     (defined(__GNUC__) && (__GNUC__ >= 8))
- #define ATTRIBUTE_NO_SANITIZE(arg) __attribute__((no_sanitize(arg)))
-diff --git a/python/libxml_wrap.h b/python/libxml_wrap.h
-index 478a20df3..2ba7571a6 100644
---- a/python/libxml_wrap.h
-+++ b/python/libxml_wrap.h
-@@ -68,11 +68,8 @@
- #define XML_IGNORE_DEPRECATION_WARNINGS \
-     _Pragma("GCC diagnostic push") \
-     _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
--#define XML_POP_WARNINGS \
--    _Pragma("GCC diagnostic pop")
- #else
--#define XML_IGNORE_PEDANTIC_WARNINGS
--#define XML_POP_WARNINGS
-+#define XML_IGNORE_DEPRECATION_WARNINGS
- #endif
- 
- #define PyxmlNode_Get(v) (((v) == Py_None) ? NULL : \
-diff --git a/python/types.c b/python/types.c
-index 644752ec7..5efeef99e 100644
---- a/python/types.c
-+++ b/python/types.c
-@@ -78,7 +78,6 @@ myInvalidParameterHandler(const wchar_t *expression,
- 
- FILE *
- libxml_PyFileGet(PyObject *f) {
--    int flags;
-     FILE *res;
-     const char *mode;
-     int fd = PyObject_AsFileDescriptor(f);
-@@ -112,8 +111,9 @@ libxml_PyFileGet(PyObject *f) {
- 
-     if (hntdll == NULL)
-         return(NULL);
--
-+XML_IGNORE_FPTR_CAST_WARNINGS
-     NtQueryInformationFile = (t_NtQueryInformationFile)GetProcAddress(hntdll, "NtQueryInformationFile");
-+XML_POP_WARNINGS
- 
-     if (NtQueryInformationFile != NULL &&
-         (NtQueryInformationFile((HANDLE)w_fh,
-@@ -129,23 +129,24 @@ libxml_PyFileGet(PyObject *f) {
-             if (ai.AccessFlags & FILE_APPEND_DATA)
-                 is_append = TRUE;
- 
--            if (is_write && is_read)
--                if (is_append)
--                    mode = "a+";
--                else
--                    mode = "rw";
--
--            if (!is_write && is_read)
-+            if (is_write) {
-+                if (is_read) {
-+                    if (is_append)
-+                        mode = "a+";
-+                    else
-+                        mode = "rw";
-+                } else {
-+                    if (is_append)
-+                        mode = "a";
-+                    else
-+                        mode = "w";
-+                }
-+            } else {
-                 if (is_append)
-                     mode = "r+";
-                 else
-                     mode = "r";
--
--            if (is_write && !is_read)
--                if (is_append)
--                    mode = "a";
--                else
--                    mode = "w";
-+            }
-         }
- 
-     FreeLibrary(hntdll);
-@@ -153,6 +154,8 @@ libxml_PyFileGet(PyObject *f) {
-     if (!is_write && !is_read) /* also happens if we did not load or run NtQueryInformationFile() successfully */
-         return(NULL);
- #else
-+    int flags;
-+
-     /*
-      * macOS returns O_RDWR for standard streams, but fails to write to
-      * stdout or stderr when opened with fdopen(dup_fd, "rw").
-diff --git a/xmlmodule.c b/xmlmodule.c
-index af47514bc..cbb25a6d2 100644
---- a/xmlmodule.c
-+++ b/xmlmodule.c
-@@ -342,7 +342,7 @@ xmlModulePlatformClose(void *handle)
- static int
- xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
- {
--XML_IGNORE_PEDANTIC_WARNINGS
-+XML_IGNORE_FPTR_CAST_WARNINGS
-     *symbol = GetProcAddress(handle, name);
-     return (NULL == *symbol) ? -1 : 0;
- XML_POP_WARNINGS
-diff --git a/xpath.c b/xpath.c
-index aa8df6132..54196fc1a 100644
---- a/xpath.c
-+++ b/xpath.c
-@@ -4855,7 +4855,7 @@ xmlXPathRegisterFuncNS(xmlXPathContextPtr ctxt, const xmlChar *name,
- 	return(-1);
-     if (f == NULL)
-         return(xmlHashRemoveEntry2(ctxt->funcHash, name, ns_uri, NULL));
--XML_IGNORE_PEDANTIC_WARNINGS
-+XML_IGNORE_FPTR_CAST_WARNINGS
-     return(xmlHashAddEntry2(ctxt->funcHash, name, ns_uri, (void *) f));
- XML_POP_WARNINGS
- }
-@@ -4938,7 +4938,7 @@ xmlXPathFunctionLookupNS(xmlXPathContextPtr ctxt, const xmlChar *name,
-     if (ctxt->funcHash == NULL)
- 	return(NULL);
- 
--XML_IGNORE_PEDANTIC_WARNINGS
-+XML_IGNORE_FPTR_CAST_WARNINGS
-     ret = (xmlXPathFunction) xmlHashLookup2(ctxt->funcHash, name, ns_uri);
- XML_POP_WARNINGS
-     return(ret);
diff --git a/components/library/libxml2/patches/mapfile.patch b/components/library/libxml2/patches/mapfile.patch
deleted file mode 100644
index b9332dd..0000000
--- a/components/library/libxml2/patches/mapfile.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- libxml2-2.10.3/configure.ac	2022-10-14 14:30:41.000000000 +0000
-+++ libxml2-2.10.3/configure.ac.new	2022-12-26 11:01:31.487437394 +0000
-@@ -71,6 +71,7 @@
- else
-   case $host in
-   *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
-+  *-*-solaris*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
-   esac
- fi
- AC_SUBST(VERSION_SCRIPT_FLAGS)
diff --git a/components/library/libxml2/patches/system-test.patch b/components/library/libxml2/patches/system-test.patch
deleted file mode 100644
index 40f9dd1..0000000
--- a/components/library/libxml2/patches/system-test.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Patch origin: in-house
-Patch status: submitted to upstream
-
-https://bugzilla.gnome.org/show_bug.cgi?id=751205
-
---- libxml2-2.10.2/Makefile.am
-+++ libxml2-2.10.2/Makefile.am
-@@ -165,6 +165,13 @@
- # Compatibility name of the check target
- runtests: check
- 
-+# It will use libxml2 installed on system only when there is no one in
-+# .libs/ directory (which could be used via LD_LIBRARY_PATH).
-+system-test:
-+	$(MAKE) runtest testrecurse testapi testchar testdict runxmlconf DEPS= LDADDS=-lxml2
-+	$(MAKE) runtests PYTHON_SUBDIR=
-+	cd python/tests; $(MAKE) tests
-+
- check-valgrind valgrind:
- 	@echo '## Running the regression tests under Valgrind'
- 	@echo '## Go get a cup of coffee it is gonna take a while ...'
diff --git a/components/library/libxml2/pkg5 b/components/library/libxml2/pkg5
index 07afcb3..ddb108b 100644
--- a/components/library/libxml2/pkg5
+++ b/components/library/libxml2/pkg5
@@ -8,8 +8,8 @@
         "system/library/math"
     ],
     "fmris": [
-        "library/libxml2",
-        "library/python/libxml2-39"
+        "library/python/libxml2-39",
+        "library/libxml2"
     ],
     "name": "libxml2"
 }
\ No newline at end of file
diff --git a/components/library/libxml2/test/results-32.master b/components/library/libxml2/test/results-32.master
index 652cb68..f7711b4 100644
--- a/components/library/libxml2/test/results-32.master
+++ b/components/library/libxml2/test/results-32.master
@@ -15,9 +15,11 @@
 ## SAX2 callbacks regression tests
 ## SAX2 callbacks regression tests with entity substitution
 ## XML push regression tests
+## XML push boundary tests
 ## HTML regression tests
 ## HTML regression tests from file descriptor
 ## Push HTML regression tests
+## Push HTML boundary tests
 ## HTML SAX regression tests
 ## Valid documents regression tests
 ## Validity checking regression tests
@@ -28,6 +30,7 @@
 ## XInclude xmlReader regression tests
 ## XInclude regression tests stripping include nodes
 ## XInclude xmlReader regression tests stripping include nodes
+## XInclude regression tests without reader
 ## XPath expressions regression tests
 ## XPath document queries regression tests
 ## XPointer document queries regression tests
@@ -47,15 +50,23 @@
 ## Catalog and Threads regression tests
 ## SVG parsing regression tests
 ## Regexp regression tests
-Total 3443 tests, no errors
+## Automata regression tests
+Total 3738 tests, no errors
 ./testrecurse
-.........
 ## Parsing recursive test cases
+## Parsing recursive test cases (no substitution)
+## Parsing recursive test cases (SAX)
+## Parsing recursive test cases (SAX, no substitution)
 ## Parsing non-recursive test cases
+## Parsing non-recursive test cases (SAX)
 ## Parsing non-recursive huge case
-Total 9 tests, no errors
-ASAN_OPTIONS="$ASAN_OPTIONS:detect_leaks=0"  ./testapi
-Testing HTMLparser : 32 of 38 functions ...
+## Parsing non-recursive huge case (no substitution)
+## Parsing non-recursive huge case (SAX)
+## Parsing non-recursive huge case (SAX, no substitution)
+## Parsing non-recursive huge DTD case
+Total 49 tests, no errors
+./testapi
+Testing HTMLparser : 35 of 41 functions ...
 Testing HTMLtree : 18 of 18 functions ...
 Testing SAX2 : 36 of 36 functions ...
 Testing c14n : 3 of 4 functions ...
@@ -64,27 +75,27 @@
 Testing debugXML : 25 of 28 functions ...
 Testing dict : 10 of 13 functions ...
 Testing encoding : 16 of 19 functions ...
-Testing entities : 11 of 17 functions ...
+Testing entities : 11 of 18 functions ...
 Testing hash : 17 of 25 functions ...
 Testing list : 19 of 26 functions ...
 Testing nanohttp : 13 of 17 functions ...
-Testing parser : 58 of 70 functions ...
-Testing parserInternals : 33 of 90 functions ...
+Testing parser : 67 of 80 functions ...
+Testing parserInternals : 30 of 87 functions ...
 Testing pattern : 10 of 15 functions ...
 Testing relaxng : 14 of 24 functions ...
 Testing schemasInternals : 0 of 2 functions ...
 Testing schematron : 1 of 10 functions ...
-Testing tree : 142 of 164 functions ...
+Testing tree : 144 of 170 functions ...
 Testing uri : 10 of 15 functions ...
 Testing valid : 50 of 70 functions ...
 Testing xinclude : 8 of 10 functions ...
-Testing xmlIO : 41 of 51 functions ...
+Testing xmlIO : 41 of 55 functions ...
 Testing xmlautomata : 3 of 19 functions ...
-Testing xmlerror : 7 of 15 functions ...
+Testing xmlerror : 7 of 17 functions ...
 Testing xmlmodule : 2 of 4 functions ...
-Testing xmlreader : 76 of 86 functions ...
+Testing xmlreader : 76 of 87 functions ...
 Testing xmlregexp : 16 of 30 functions ...
-Testing xmlsave : 4 of 10 functions ...
+Testing xmlsave : 7 of 13 functions ...
 Testing xmlschemas : 16 of 27 functions ...
 Testing xmlschemastypes : 26 of 34 functions ...
 Testing xmlstring : 26 of 30 functions ...
@@ -93,13 +104,13 @@
 Testing xpath : 32 of 40 functions ...
 Testing xpathInternals : 106 of 117 functions ...
 Testing xpointer : 13 of 21 functions ...
-Total: 1139 functions, 279665 tests, 0 errors
+Total: 1153 functions, 288994 tests, 0 errors
 ./testchar
 testing char range: 1 2 3 4 done
 testing 1 byte char in document: 1 2 3 4 done
 testing 2 byte char in document: 1 2 3 4 done
 ./testdict
-dictionary tests succeeded 20000 strings
+./testparser
 ./testModule
 Success!
 ./testThreads
@@ -111,4 +122,19 @@
   see http://www.w3.org/XML/Test/ for information
 Ran 0 tests, no errors
 Total 0 tests, no errors
+./runsuite
+Failed to parse xstc/Tests/Metadata/NISTXMLSchemaDatatypes.testSet
+Failed to parse xstc/Tests/Metadata/SunXMLSchema1-0-20020116.testSet
+Failed to parse xstc/Tests/Metadata/MSXMLSchema1-0-20020116.testSet
+## XML Schemas datatypes test suite from James Clark
+Ran 1035 tests, 10 errors, 0 leaks
+10 errors were expected
+## Relax NG test suite from James Clark
+Ran 253 tests, no errors
+## Relax NG test suite for libxml2
+Ran 183 tests, no errors
+Ran 0 tests (0 schemata), no errors
+Ran 0 tests (0 schemata), no errors
+Ran 0 tests (0 schemata), no errors
+Total 1471 tests, no errors
 [EnD]
diff --git a/components/library/libxml2/test/results-64.master b/components/library/libxml2/test/results-64.master
index 199f709..be9d549 100644
--- a/components/library/libxml2/test/results-64.master
+++ b/components/library/libxml2/test/results-64.master
@@ -15,9 +15,11 @@
 ## SAX2 callbacks regression tests
 ## SAX2 callbacks regression tests with entity substitution
 ## XML push regression tests
+## XML push boundary tests
 ## HTML regression tests
 ## HTML regression tests from file descriptor
 ## Push HTML regression tests
+## Push HTML boundary tests
 ## HTML SAX regression tests
 ## Valid documents regression tests
 ## Validity checking regression tests
@@ -28,6 +30,7 @@
 ## XInclude xmlReader regression tests
 ## XInclude regression tests stripping include nodes
 ## XInclude xmlReader regression tests stripping include nodes
+## XInclude regression tests without reader
 ## XPath expressions regression tests
 ## XPath document queries regression tests
 ## XPointer document queries regression tests
@@ -47,15 +50,23 @@
 ## Catalog and Threads regression tests
 ## SVG parsing regression tests
 ## Regexp regression tests
-Total 3443 tests, no errors
+## Automata regression tests
+Total 3738 tests, no errors
 ./testrecurse
-.........
 ## Parsing recursive test cases
+## Parsing recursive test cases (no substitution)
+## Parsing recursive test cases (SAX)
+## Parsing recursive test cases (SAX, no substitution)
 ## Parsing non-recursive test cases
+## Parsing non-recursive test cases (SAX)
 ## Parsing non-recursive huge case
-Total 9 tests, no errors
-ASAN_OPTIONS="$ASAN_OPTIONS:detect_leaks=0"  ./testapi
-Testing HTMLparser : 32 of 38 functions ...
+## Parsing non-recursive huge case (no substitution)
+## Parsing non-recursive huge case (SAX)
+## Parsing non-recursive huge case (SAX, no substitution)
+## Parsing non-recursive huge DTD case
+Total 49 tests, no errors
+./testapi
+Testing HTMLparser : 35 of 41 functions ...
 Testing HTMLtree : 18 of 18 functions ...
 Testing SAX2 : 36 of 36 functions ...
 Testing c14n : 3 of 4 functions ...
@@ -64,27 +75,27 @@
 Testing debugXML : 25 of 28 functions ...
 Testing dict : 10 of 13 functions ...
 Testing encoding : 16 of 19 functions ...
-Testing entities : 11 of 17 functions ...
+Testing entities : 11 of 18 functions ...
 Testing hash : 17 of 25 functions ...
 Testing list : 19 of 26 functions ...
 Testing nanohttp : 13 of 17 functions ...
-Testing parser : 58 of 70 functions ...
-Testing parserInternals : 33 of 90 functions ...
+Testing parser : 67 of 80 functions ...
+Testing parserInternals : 30 of 87 functions ...
 Testing pattern : 10 of 15 functions ...
 Testing relaxng : 14 of 24 functions ...
 Testing schemasInternals : 0 of 2 functions ...
 Testing schematron : 1 of 10 functions ...
-Testing tree : 142 of 164 functions ...
+Testing tree : 144 of 170 functions ...
 Testing uri : 10 of 15 functions ...
 Testing valid : 50 of 70 functions ...
 Testing xinclude : 8 of 10 functions ...
-Testing xmlIO : 41 of 51 functions ...
+Testing xmlIO : 41 of 55 functions ...
 Testing xmlautomata : 3 of 19 functions ...
-Testing xmlerror : 7 of 15 functions ...
+Testing xmlerror : 7 of 17 functions ...
 Testing xmlmodule : 2 of 4 functions ...
-Testing xmlreader : 76 of 86 functions ...
+Testing xmlreader : 76 of 87 functions ...
 Testing xmlregexp : 16 of 30 functions ...
-Testing xmlsave : 4 of 10 functions ...
+Testing xmlsave : 7 of 13 functions ...
 Testing xmlschemas : 16 of 27 functions ...
 Testing xmlschemastypes : 26 of 34 functions ...
 Testing xmlstring : 26 of 30 functions ...
@@ -93,13 +104,13 @@
 Testing xpath : 32 of 40 functions ...
 Testing xpathInternals : 106 of 117 functions ...
 Testing xpointer : 13 of 21 functions ...
-Total: 1139 functions, 279665 tests, 0 errors
+Total: 1153 functions, 288994 tests, 0 errors
 ./testchar
 testing char range: 1 2 3 4 done
 testing 1 byte char in document: 1 2 3 4 done
 testing 2 byte char in document: 1 2 3 4 done
 ./testdict
-dictionary tests succeeded 20000 strings
+./testparser
 ./testModule
 Success!
 ./testThreads
@@ -130,6 +141,21 @@
 Total 2269 tests, 15 errors, 0 leaks
 See runxmlconf.log for detailed output
 15 errors were expected
+./runsuite
+Failed to parse xstc/Tests/Metadata/NISTXMLSchemaDatatypes.testSet
+Failed to parse xstc/Tests/Metadata/SunXMLSchema1-0-20020116.testSet
+Failed to parse xstc/Tests/Metadata/MSXMLSchema1-0-20020116.testSet
+## XML Schemas datatypes test suite from James Clark
+Ran 1035 tests, 10 errors, 0 leaks
+10 errors were expected
+## Relax NG test suite from James Clark
+Ran 253 tests, no errors
+## Relax NG test suite for libxml2
+Ran 183 tests, no errors
+Ran 0 tests (0 schemata), no errors
+Ran 0 tests (0 schemata), no errors
+Ran 0 tests (0 schemata), no errors
+Total 1471 tests, no errors
 [EnD]
 ## running Python regression tests
 [EnD]

--
Gitblit v1.9.3