• Home
Name Date Size #Lines LOC

..--

VxWorks/12-May-2024-241184

bakefile/12-May-2024-854519

doc/12-May-2024-138,443134,460

example/12-May-2024-376255

fuzz/12-May-2024-2,1711,639

include/12-May-2024-15,4689,648

macos/12-May-2024-514404

optim/12-May-2024-3630

os400/12-May-2024-33,25227,429

python/12-May-2024-12,53710,060

result/12-May-2024-268,502241,070

test/12-May-2024-113,132101,928

vms/12-May-2024-766672

win32/12-May-2024-12,01110,607

xstc/12-May-2024-1,041778

.gitattributesD12-May-202432 32

.gitignoreD12-May-20241.7 KiB128127

.gitlab-ci.ymlD12-May-20248.4 KiB291250

BUILD.gnD12-May-20245.9 KiB233216

CMakeLists.txtD12-May-202423.8 KiB756696

CopyrightD12-May-20241.3 KiB2419

DOCBparser.cD12-May-20248.6 KiB306140

HTMLparser.cD12-May-2024208.4 KiB7,2855,071

HTMLtree.cD12-May-202433.1 KiB1,201757

Makefile.amD12-May-202458.3 KiB1,3261,196

Makefile.testsD12-May-2024913 4224

NEWSD12-May-2024179.5 KiB3,5693,170

OAT.xmlD12-May-20242.6 KiB5137

README.OpenSourceD12-May-2024491 1311

README.mdD12-May-20243.7 KiB12282

README.testsD12-May-20241.4 KiB4029

README.zOSD12-May-20249.6 KiB213197

SAX.cD12-May-20245.4 KiB181133

SAX2.cD12-May-202484.4 KiB3,0382,107

TODOD12-May-202411.1 KiB277235

TODO_SCHEMASD12-May-2024922 3223

acinclude.m4D12-May-2024812 2927

autogen.shD12-May-20242.3 KiB9778

buf.cD12-May-202433 KiB1,335796

buf.hD12-May-20242.3 KiB7342

build_glob.pyD12-May-20245.1 KiB12391

bundle.jsonD12-May-2024896 3534

c14n.cD12-May-202469.1 KiB2,2351,288

catalog.cD12-May-202497 KiB3,8312,609

check-relaxng-test-suite.pyD12-May-20249.8 KiB395295

check-relaxng-test-suite2.pyD12-May-202410.3 KiB419300

check-xinclude-test-suite.pyD12-May-20245.2 KiB222183

check-xml-test-suite.pyD12-May-20249.4 KiB410320

check-xsddata-test-suite.pyD12-May-202410.4 KiB421313

chvalid.cD12-May-202412 KiB337207

chvalid.defD12-May-20245.9 KiB362354

config.h.cmake.inD12-May-20247.4 KiB257173

config_linux.jsonD12-May-20242 KiB7676

config_win.jsonD12-May-20241.6 KiB6161

configure.acD12-May-202445.3 KiB1,7021,571

dbgen.plD12-May-20241.3 KiB4434

dbgenattr.plD12-May-20241.3 KiB4333

debugXML.cD12-May-2024101.7 KiB3,4242,681

dict.cD12-May-202430.8 KiB1,300868

elfgcchack.hD12-May-2024656.7 KiB17,83116,243

enc.hD12-May-2024827 3315

encoding.cD12-May-2024142.5 KiB3,9772,971

entities.cD12-May-202430.3 KiB1,141758

error.cD12-May-202426.7 KiB999683

genChRanges.pyD12-May-202415.1 KiB579424

genUnicode.pyD12-May-202412.7 KiB479373

generate_header.pyD12-May-20244.6 KiB12086

gentest.pyD12-May-202430 KiB990770

global.dataD12-May-20241.1 KiB3029

globals.cD12-May-202429.1 KiB1,127755

hash.cD12-May-202429.4 KiB1,147719

legacy.cD12-May-202437.9 KiB1,344667

libxml-2.0-uninstalled.pc.inD12-May-2024309 1310

libxml-2.0.pc.inD12-May-2024359 1412

libxml.3D12-May-20241.6 KiB7270

libxml.hD12-May-20243.3 KiB13579

libxml.m4D12-May-20247.7 KiB192180

libxml.spec.inD12-May-20246.4 KiB210170

libxml2-config.cmake.cmake.inD12-May-20245.5 KiB137115

libxml2-config.cmake.inD12-May-20244.6 KiB11697

libxml2.doapD12-May-20241.6 KiB3834

libxml2.symsD12-May-202444.2 KiB2,2962,036

list.cD12-May-202415.9 KiB780405

nanoftp.cD12-May-202451.8 KiB2,1191,569

nanohttp.cD12-May-202447.4 KiB1,9001,380

parser.cD12-May-2024429.8 KiB15,56510,606

parserInternals.cD12-May-202461.5 KiB2,1671,347

pattern.cD12-May-202462.1 KiB2,6221,833

regressions.pyD12-May-202412.1 KiB351248

regressions.xmlD12-May-20246.2 KiB227200

relaxng.cD12-May-2024359.7 KiB11,1048,554

rngparser.cD12-May-202446.5 KiB1,5961,210

runsuite.cD12-May-202431 KiB1,158980

runtest.cD12-May-2024119 KiB4,6823,515

runxmlconf.cD12-May-202415.9 KiB608485

save.hD12-May-20241,018 3719

schematron.cD12-May-202447.1 KiB1,7881,249

testAutomata.cD12-May-20247.5 KiB310273

testC14N.cD12-May-20249.6 KiB374240

testHTML.cD12-May-202420.7 KiB881547

testModule.cD12-May-20241.8 KiB8359

testOOM.cD12-May-20248.3 KiB378306

testOOMlib.cD12-May-20245.2 KiB270159

testOOMlib.hD12-May-2024623 2716

testReader.cD12-May-20243.2 KiB146115

testRegexp.cD12-May-202410.1 KiB403364

testRelax.cD12-May-20244.4 KiB189162

testSAX.cD12-May-202427 KiB1,199797

testSchemas.cD12-May-20244.1 KiB180153

testThreads.cD12-May-20246.6 KiB276248

testURI.cD12-May-20243.1 KiB136109

testXPath.cD12-May-20245.8 KiB230201

testapi.cD12-May-20241.4 MiB52,37944,110

testchar.cD12-May-202415.7 KiB618415

testdict.cD12-May-202411.4 KiB445340

testdso.cD12-May-2024166 139

testlimits.cD12-May-202441.3 KiB1,6391,074

testrecurse.cD12-May-202424.4 KiB966715

threads.cD12-May-202426.5 KiB1,050732

timsort.hD12-May-202413.8 KiB602434

tree.cD12-May-2024257.4 KiB10,1836,704

trio.cD12-May-2024156.8 KiB6,8965,195

trio.hD12-May-20247.3 KiB231156

triodef.hD12-May-20246.8 KiB229168

trionan.cD12-May-202422.5 KiB915545

trionan.hD12-May-20242 KiB8529

triop.hD12-May-20245.6 KiB151103

triostr.cD12-May-202441.1 KiB2,1131,301

triostr.hD12-May-20248 KiB145100

uri.cD12-May-202465.2 KiB2,5631,583

valid.cD12-May-2024191.5 KiB7,1614,924

xinclude.cD12-May-202469.1 KiB2,6561,821

xlink.cD12-May-20244.5 KiB18489

xml2-config.1D12-May-20241.2 KiB3231

xml2-config.inD12-May-20241.8 KiB11187

xml2Conf.sh.inD12-May-2024210 97

xmlIO.cD12-May-2024103.7 KiB4,1382,526

xml_version.jsonD12-May-2024722 3131

xmlcatalog.cD12-May-202414.4 KiB610515

xmllint.cD12-May-2024100.4 KiB3,8633,166

xmlmemory.cD12-May-202426.5 KiB1,164786

xmlmodule.cD12-May-202410.6 KiB469240

xmlreader.cD12-May-2024166.5 KiB6,0344,096

xmlregexp.cD12-May-2024217.7 KiB8,2726,164

xmlsave.cD12-May-202479 KiB2,7361,854

xmlschemas.cD12-May-2024812.9 KiB29,18719,402

xmlschemastypes.cD12-May-2024176.4 KiB6,2824,577

xmlstring.cD12-May-202426.4 KiB1,056582

xmlunicode.cD12-May-202499.9 KiB3,1801,620

xmlwriter.cD12-May-2024122.1 KiB4,7393,173

xpath.cD12-May-2024399.9 KiB14,7379,904

xpointer.cD12-May-202475.4 KiB2,9581,903

xzlib.cD12-May-202424.2 KiB816638

xzlib.hD12-May-2024620 209

README.OpenSource

1[
2    {
3        "Name": "libxml2",
4        "License": "MIT License",
5        "License File": "Copyright",
6        "Version Number": "2.9.13",
7        "Owner": "jameslee@huawei.com",
8        "Upstream URL": "https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.9.13/libxml2-v2.9.13.tar.gz",
9        "Description": "Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), it is free software available under the MIT License"
10    }
11]
12
13

README.md

1# libxml2
2
3libxml2 is an XML toolkit implemented in C, originally developed for
4the GNOME Project.
5
6Full documentation is available at
7<https://gitlab.gnome.org/GNOME/libxml2/-/wikis>.
8
9Bugs should be reported at
10<https://gitlab.gnome.org/GNOME/libxml2/-/issues>.
11
12A mailing list xml@gnome.org is available. You can subscribe at
13<https://mail.gnome.org/mailman/listinfo/xml>. The list archive is at
14<https://mail.gnome.org/archives/xml/>.
15
16## License
17
18This code is released under the MIT License, see the Copyright file.
19
20## Build instructions
21
22libxml2 can be built with GNU Autotools, CMake, or several other build
23systems in platform-specific subdirectories.
24
25### Autotools (for POSIX systems like Linux, BSD, macOS)
26
27If you build from a Git tree, you have to install Autotools and start
28by generating the configuration files with:
29
30    ./autogen.sh
31
32If you build from a source tarball, extract the archive with:
33
34    tar xf libxml2-xxx.tar.gz
35    cd libxml2-xxx
36
37To see a list of build options:
38
39    ./configure --help
40
41Also see the INSTALL file for additional instructions. Then you can
42configure and build the library:
43
44    ./configure [possible options]
45    make
46
47Now you can run the test suite with:
48
49    make check
50
51Please report test failures to the mailing list or bug tracker.
52
53Then you can install the library:
54
55    make install
56
57At that point you may have to rerun ldconfig or a similar utility to
58update your list of installed shared libs.
59
60### CMake (mainly for Windows)
61
62Another option for compiling libxml is using CMake:
63
64    cmake -E tar xf libxml2-xxx.tar.gz
65    cmake -S libxml2-xxx -B libxml2-xxx-build [possible options]
66    cmake --build libxml2-xxx-build
67    cmake --install libxml2-xxx-build
68
69Common CMake options include:
70
71    -D BUILD_SHARED_LIBS=OFF            # build static libraries
72    -D CMAKE_BUILD_TYPE=Release         # specify build type
73    -D CMAKE_INSTALL_PREFIX=/usr/local  # specify the install path
74    -D LIBXML2_WITH_ICONV=OFF           # disable iconv
75    -D LIBXML2_WITH_LZMA=OFF            # disable liblzma
76    -D LIBXML2_WITH_PYTHON=OFF          # disable Python
77    -D LIBXML2_WITH_ZLIB=OFF            # disable libz
78
79You can also open the libxml source directory with its CMakeLists.txt
80directly in various IDEs such as CLion, QtCreator, or Visual Studio.
81
82## Dependencies
83
84Libxml does not require any other libraries. A platform with somewhat
85recent POSIX support should be sufficient (please report any violation
86to this rule you may find).
87
88However, if found at configuration time, libxml will detect and use
89the following libraries:
90
91- [libz](https://zlib.net/), a highly portable and widely available
92  compression library.
93- [liblzma](https://tukaani.org/xz/), another compression library.
94- [libiconv](https://www.gnu.org/software/libiconv/), a character encoding
95  conversion library. The iconv function is part of POSIX.1-2001, so
96  libiconv isn't required on modern UNIX-like systems like Linux, BSD or
97  macOS.
98- [ICU](https://icu.unicode.org/), a Unicode library. Mainly useful as an
99  alternative to iconv on Windows. Unnecessary on most other systems.
100
101## Contributing
102
103The current version of the code can be found in GNOME's GitLab at
104at <https://gitlab.gnome.org/GNOME/libxml2>. The best way to get involved
105is by creating issues and merge requests on GitLab. Alternatively, you can
106start discussions and send patches to the mailing list. If you want to
107work with patches, please format them with git-format-patch and use plain
108text attachments.
109
110All code must conform to C89 and pass the GitLab CI tests. Add regression
111tests if possible.
112
113## Authors
114
115- Daniel Veillard
116- Bjorn Reese
117- William Brack
118- Igor Zlatkovic for the Windows port
119- Aleksey Sanin
120- Nick Wellnhofer
121
122

README.tests

1                       README.tests
2
3   Instructions for standalone test regressions of libxml2
4
5libxml2-tests-$version.tar.gz contains 3 standalone C programs as well
6as a large amount of tests and results coming from libxml2 itself and
7from W3C, NIST, Sun Microsystems, Microsoft and James Clark. Each C
8program has a different testing purpose:
9
10  runtest.c : runs libxml2 basic internal regression tests
11  runsuite.c: runs libxml2 against external regression tests
12  testapi.c : exercises the library public entry points
13  testchar.c: exercise the check of character ranges and UTF-8 validation
14
15The command:
16
17  make check
18or
19  make -f Makefile.tests check
20
21should be sufficient on an Unix system to build and exercise the tests
22for the version of the library installed on the system. Note however
23that there isn't backward compatibility provided so if the installed
24version is older than the testsuite one, failing to compile or run the tests
25is likely. In any event this won't work with an installed libxml2 older
26than 2.6.20.
27
28Building on other platforms should be a matter of compiling the C files
29like any other program using libxml2, running the test should be done
30simply by launching the resulting executables.
31
32Also note the availability of a "make valgrind" target which will run the
33above tests under valgrind to check for memory errors (but this relies
34on the availability of the valgrind command and take far more time to
35complete).
36
37Daniel Veillard
38Mon May  7 2012
39
40

README.zOS

1Notes for compiling on zOS:
2
3- since testapi.c file is huge (over 52000 lines), it's compilation
4  fails: I skipped the problem by removing all references to testapi in the
5  Makefile.in, but it would be neater if one can build without test files
6  (I didn't find an option in configure...)
7
8- since the name of files (or qualifier) in PDS are limited to 8 I had to
9  rename xmlschemas.c and xmlschemastypes.c in (resp.) xmlsche.c xmlschet.c
10  (and I had to modify all occurrences of these files accordingly in the
11  rest of the Makefile !!!).
12
13- in order to copy objects to PDS, I had the cp command at line 860
14  of Makefile.in
15
16libxml2.la: $(libxml2_la_OBJECTS) $(libxml2_la_DEPENDENCIES)
17        $(AM_V_CCLD)$(libxml2_la_LINK) -rpath $(libdir) $(libxml2_la_OBJECTS) $(libxml2_la_LIBADD) $(LIBS)
18        # Copy objects to PDS
19        @list='$(libxml2_OBJECTS)' ; for p in $$list; do \
20          cp -ACMv $$p "//'<PDS NAME>'"; \
21        done
22
23	with <PDS NAME> stands for the name of my PDS and
24
25libxml2_OBJECTS = SAX.o entities.o encoding.o error.o \
26	parserInternals.o parser.o tree.o hash.o list.o xmlIO.o \
27	xmlmemory.o uri.o valid.o xlink.o HTMLparser.o \
28	HTMLtree.o debugXML.o xpath.o xpointer.o xinclude.o \
29	nanohttp.o nanoftp.o triostr.o trio.o catalog.o globals.o \
30	threads.o c14n.o xmlstring.o buf.o xmlregexp.o \
31	xmlsche.o xmlschet.o xmlunicode.o \
32	xmlreader.o relaxng.o dict.o SAX2.o \
33	xmlwriter.o legacy.o chvalid.o pattern.o xmlsave.o \
34	xmlmodule.o schematron.o xzlib.o
35
36In order to handle the support of zOS without breaking the existing
37Makefile maybe a new option/flag zOs would copy xmlschemas.c and
38xmlschemastypes.c files and use specifics targets rather than existing
39ones with the longer names... A variable to handle the PDS name has to
40be provided also...
41
42See patch below for set of changes to Makefile.in
43
44Stéphane Michaut <smichaut@axway.com>
45July 2017
46
47
48--- Makefile.in	2017-08-01 08:17:15.000000000 +0200
49+++ Makefile-new.in	2017-08-01 08:07:26.000000000 +0200
50@@ -41,7 +41,7 @@
51 	testSAX$(EXEEXT) testHTML$(EXEEXT) testXPath$(EXEEXT) \
52 	testURI$(EXEEXT) testThreads$(EXEEXT) testC14N$(EXEEXT) \
53 	testAutomata$(EXEEXT) testRegexp$(EXEEXT) testReader$(EXEEXT) \
54-	testapi$(EXEEXT) testModule$(EXEEXT) runtest$(EXEEXT) \
55+	testModule$(EXEEXT) runtest$(EXEEXT) \
56 	runsuite$(EXEEXT) testchar$(EXEEXT) testdict$(EXEEXT) \
57 	runxmlconf$(EXEEXT) testrecurse$(EXEEXT) testlimits$(EXEEXT)
58 bin_PROGRAMS = xmllint$(EXEEXT) xmlcatalog$(EXEEXT)
59@@ -106,6 +106,7 @@
60 	debugXML.c xpath.c xpointer.c xinclude.c nanohttp.c nanoftp.c \
61 	DOCBparser.c catalog.c globals.c threads.c c14n.c xmlstring.c \
62 	buf.c xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
63+        xmlsche.c xmlschet.c \
64 	triostr.c trio.c xmlreader.c relaxng.c dict.c SAX2.c \
65 	xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c xmlmodule.c \
66 	schematron.c xzlib.c
67@@ -118,10 +119,24 @@
68 	nanohttp.lo nanoftp.lo $(am__objects_1) catalog.lo globals.lo \
69 	threads.lo c14n.lo xmlstring.lo buf.lo xmlregexp.lo \
70 	xmlschemas.lo xmlschemastypes.lo xmlunicode.lo \
71+        xmlsche.lo xmlschet.lo \
72 	$(am__objects_2) xmlreader.lo relaxng.lo dict.lo SAX2.lo \
73 	xmlwriter.lo legacy.lo chvalid.lo pattern.lo xmlsave.lo \
74 	xmlmodule.lo schematron.lo xzlib.lo
75 libxml2_la_OBJECTS = $(am_libxml2_la_OBJECTS)
76+
77+libxml2_OBJECTS = SAX.o entities.o encoding.o error.o \
78+	parserInternals.o parser.o tree.o hash.o list.o xmlIO.o \
79+	xmlmemory.o uri.o valid.o xlink.o HTMLparser.o \
80+	HTMLtree.o debugXML.o xpath.o xpointer.o xinclude.o \
81+	nanohttp.o nanoftp.o triostr.o trio.o catalog.o globals.o \
82+	threads.o c14n.o xmlstring.o buf.o xmlregexp.o \
83+	xmlschemas.o xmlschemastypes.o xmlunicode.o \
84+	xmlsche.o xmlschemast.o \
85+	xmlreader.o relaxng.o dict.o SAX2.o \
86+	xmlwriter.o legacy.o chvalid.o pattern.o xmlsave.o \
87+	xmlmodule.o schematron.o xzlib.o
88+
89 AM_V_lt = $(am__v_lt_$(V))
90 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
91 am__v_lt_0 = --silent
92@@ -216,11 +231,6 @@
93 testXPath_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
94 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
95 	$(testXPath_LDFLAGS) $(LDFLAGS) -o $@
96-am_testapi_OBJECTS = testapi.$(OBJEXT)
97-testapi_OBJECTS = $(am_testapi_OBJECTS)
98-testapi_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
99-	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
100-	$(testapi_LDFLAGS) $(LDFLAGS) -o $@
101 am_testchar_OBJECTS = testchar.$(OBJEXT)
102 testchar_OBJECTS = $(am_testchar_OBJECTS)
103 testchar_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
104@@ -285,7 +295,7 @@
105 	$(testReader_SOURCES) $(testRegexp_SOURCES) \
106 	$(testRelax_SOURCES) $(testSAX_SOURCES) $(testSchemas_SOURCES) \
107 	$(testThreads_SOURCES) $(testURI_SOURCES) $(testXPath_SOURCES) \
108-	$(testapi_SOURCES) $(testchar_SOURCES) $(testdict_SOURCES) \
109+	$(testchar_SOURCES) $(testdict_SOURCES) \
110 	$(testlimits_SOURCES) $(testrecurse_SOURCES) \
111 	$(xmlcatalog_SOURCES) $(xmllint_SOURCES)
112 DIST_SOURCES = $(am__libxml2_la_SOURCES_DIST) $(testdso_la_SOURCES) \
113@@ -295,7 +305,7 @@
114 	$(testReader_SOURCES) $(testRegexp_SOURCES) \
115 	$(testRelax_SOURCES) $(testSAX_SOURCES) $(testSchemas_SOURCES) \
116 	$(am__testThreads_SOURCES_DIST) $(testURI_SOURCES) \
117-	$(testXPath_SOURCES) $(testapi_SOURCES) $(testchar_SOURCES) \
118+	$(testXPath_SOURCES) $(testchar_SOURCES) \
119 	$(testdict_SOURCES) $(testlimits_SOURCES) \
120 	$(testrecurse_SOURCES) $(xmlcatalog_SOURCES) \
121 	$(xmllint_SOURCES)
122@@ -700,11 +710,6 @@
123 noinst_LTLIBRARIES = testdso.la
124 testdso_la_SOURCES = testdso.c
125 testdso_la_LDFLAGS = -module -no-undefined -avoid-version -rpath $(libdir)
126-BUILT_SOURCES = testapi.c
127-testapi_SOURCES = testapi.c
128-testapi_LDFLAGS =
129-testapi_DEPENDENCIES = $(DEPS)
130-testapi_LDADD = $(LDADDS)
131 runxmlconf_SOURCES = runxmlconf.c
132 runxmlconf_LDFLAGS =
133 runxmlconf_DEPENDENCIES = $(DEPS)
134@@ -854,6 +859,12 @@
135 	done
136 libxml2.la: $(libxml2_la_OBJECTS) $(libxml2_la_DEPENDENCIES)
137 	$(AM_V_CCLD)$(libxml2_la_LINK) -rpath $(libdir) $(libxml2_la_OBJECTS) $(libxml2_la_LIBADD) $(LIBS)
138+        # Copie des obj
139+	@list='$(libxml2_OBJECTS)' ; for p in $$list; do \
140+	  echo "copy to PDS: $$p"; \
141+	  cp -ACMv $$p "//'A009153.XRDEV230.FIC.OBJLIB.LIBXML'"; \
142+	done
143+
144 testdso.la: $(testdso_la_OBJECTS) $(testdso_la_DEPENDENCIES)
145 	$(AM_V_CCLD)$(testdso_la_LINK)  $(testdso_la_OBJECTS) $(testdso_la_LIBADD) $(LIBS)
146 install-binPROGRAMS: $(bin_PROGRAMS)
147@@ -953,9 +964,6 @@
148 testXPath$(EXEEXT): $(testXPath_OBJECTS) $(testXPath_DEPENDENCIES)
149 	@rm -f testXPath$(EXEEXT)
150 	$(AM_V_CCLD)$(testXPath_LINK) $(testXPath_OBJECTS) $(testXPath_LDADD) $(LIBS)
151-testapi$(EXEEXT): $(testapi_OBJECTS) $(testapi_DEPENDENCIES)
152-	@rm -f testapi$(EXEEXT)
153-	$(AM_V_CCLD)$(testapi_LINK) $(testapi_OBJECTS) $(testapi_LDADD) $(LIBS)
154 testchar$(EXEEXT): $(testchar_OBJECTS) $(testchar_DEPENDENCIES)
155 	@rm -f testchar$(EXEEXT)
156 	$(AM_V_CCLD)$(testchar_LINK) $(testchar_OBJECTS) $(testchar_LDADD) $(LIBS)
157@@ -1056,7 +1064,6 @@
158 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testThreadsWin32.Po@am__quote@
159 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testURI.Po@am__quote@
160 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testXPath.Po@am__quote@
161-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testapi.Po@am__quote@
162 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testchar.Po@am__quote@
163 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testdict.Po@am__quote@
164 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testdso.Plo@am__quote@
165@@ -1755,18 +1762,6 @@
166 	uninstall-local uninstall-m4dataDATA uninstall-man \
167 	uninstall-man1 uninstall-man3 uninstall-pkgconfigDATA
168
169-
170-# that one forces the rebuild when "make rebuild" is run on doc/
171-rebuild_testapi:
172-	-@(if [ "$(PYTHON)" != "" ] ; then \
173-	    $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
174-
175-# that one is just to make sure it is rebuilt if missing
176-# but adding the dependances generate mess
177-testapi.c: $(srcdir)/gentest.py
178-	-@(if [ "$(PYTHON)" != "" ] ; then \
179-	    $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
180-
181 #testOOM_SOURCES=testOOM.c testOOMlib.h testOOMlib.c
182 #testOOM_LDFLAGS =
183 #testOOM_DEPENDENCIES = $(DEPS)
184@@ -1775,7 +1770,7 @@
185 runtests:
186 	[ -d test   ] || $(LN_S) $(srcdir)/test   .
187 	[ -d result ] || $(LN_S) $(srcdir)/result .
188-	$(CHECKER) ./runtest$(EXEEXT) && $(CHECKER) ./testrecurse$(EXEEXT) &&$(CHECKER) ./testapi$(EXEEXT) && $(CHECKER) ./testchar$(EXEEXT)&& $(CHECKER) ./testdict$(EXEEXT) && $(CHECKER) ./runxmlconf$(EXEEXT)
189+	$(CHECKER) ./runtest$(EXEEXT) && $(CHECKER) ./testrecurse$(EXEEXT) &&$(CHECKER) && $(CHECKER) ./testchar$(EXEEXT)&& $(CHECKER) ./testdict$(EXEEXT) && $(CHECKER) ./runxmlconf$(EXEEXT)
190 	@(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
191 	    $(MAKE) tests ; fi)
192
193@@ -1797,10 +1792,6 @@
194 	    $(MAKE) tests ; fi)
195 	@(cd doc/examples ; $(MAKE) tests)
196
197-APItests: testapi$(EXEEXT)
198-	@echo "## Running the API regression tests this may take a little while"
199-	-@($(CHECKER) $(top_builddir)/testapi -q)
200-
201 HTMLtests : testHTML$(EXEEXT)
202 	@(echo > .memdump)
203 	@echo "## HTML regression tests"
204@@ -2746,7 +2737,7 @@
205 dist-test: distdir
206 	(mkdir -p $(distdir))
207 	(cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn --exclude .git xstc/Tests) | (cd $(distdir); tar xf -)
208-	tar -cf - $(distdir)/test $(distdir)/result $(distdir)/xstc/Tests  $(distdir)/Makefile.tests $(distdir)/README $(distdir)/README.tests $(distdir)/AUTHORS $(distdir)/testapi.c $(distdir)/runtest.c $(distdir)/runsuite.c | GZIP=$(GZIP_ENV) gzip -c >`echo "$(distdir)" | sed "s+libxml2+libxml2-tests+"`.tar.gz
209+	tar -cf - $(distdir)/test $(distdir)/result $(distdir)/xstc/Tests  $(distdir)/Makefile.tests $(distdir)/README $(distdir)/README.tests $(distdir)/AUTHORS $(distdir)/runtest.c $(distdir)/runsuite.c | GZIP=$(GZIP_ENV) gzip -c >`echo "$(distdir)" | sed "s+libxml2+libxml2-tests+"`.tar.gz
210 	@(rm -rf $(distdir)/xstc/Test)
211
212 cleantar:
213