netcdf-c/libdispatch
Dennis Heimbigner 53464e8963 Allow optional use of libxml2
re: https://github.com/Unidata/netcdf-c/issues/2119

H/T to [Egbert Eich](https://github.com/e4t) and [Bas Couwenberg](https://github.com/sebastic) for this PR.

It is undesirable to make netcdf be dependent on the availability
of libxml2, but it is desirable to allow its use if available.

In order to do this, a wrapper API (include/ncxml.h) was constructed
that supports either ezxml or libxml2 as the implementation.
Additionally, the xml support code was moved to a new directory
netcdf-c/libncxml.

Primary changes:
* Create a new sub-directory named netcdf-c/libncxml to hold all the xml implementation code.
* Move ezxml.c and ezxml.h to libncxml
* Create a wrapper API -- include/ncxml.h
* Create an implementation, ncxml_ezxml.c to support use of ezxml.
* Create an implementation, ncxml_xml2.c to support use of libxml2.
* Add a check for libxml2 in configure.ac and CMakeLists.txt
* Modify libdap to use the wrapper API instead of ezxml directly.

Misc. Other Changes:
* Change include/netcdf_json.h from built source to be part of the distribution.
2021-11-01 22:37:05 -06:00
..
awsincludes.h Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
CMakeLists.txt Allow optional use of libxml2 2021-11-01 22:37:05 -06:00
datt.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
dattget.c added anchors for reading_attributes and writing_attributes, and refs to them, also changed order of files in Doxygen.in 2019-11-08 05:19:51 -07:00
dattinq.c cleanup and minor fixes for attribute inq functions 2019-11-07 09:46:23 -07:00
dattput.c added anchors for reading_attributes and writing_attributes, and refs to them, also changed order of files in Doxygen.in 2019-11-08 05:19:51 -07:00
dauth.c Fix new lgtm alerts 2021-09-28 14:19:07 -06:00
daux.c Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
dcompound.c Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
dcopy.c Regularize the scoping of dimensions 2021-05-31 15:51:12 -06:00
dcrc32.c Make use of clock_gettime be conditional. 2020-12-06 18:19:53 -07:00
dcrc32.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
dcrc64.c Make use of clock_gettime be conditional. 2020-12-06 18:19:53 -07:00
ddim.c formatting cleanup 2019-02-25 07:58:55 -07:00
ddispatch.c Allow optional use of libxml2 2021-11-01 22:37:05 -06:00
defcheck.c Modified a number of tests 2014-10-04 15:59:16 -06:00
denum.c Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
derror.c Move to Version 2 NCZarr Extended Meta-Data 2021-07-17 16:55:30 -06:00
dfile.c Codify cross-platform file paths 2021-03-04 13:41:31 -07:00
dfilter.c Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
dfilterx.c Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
dgroup.c Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
dhttp.c Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
dinfermodel.c Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
dinternal.c Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
dnotnc3.c final removal 2019-08-15 07:05:10 -06:00
dnotnc4.c adding quantize functions to all the dispatch tables 2021-08-24 01:26:44 -06:00
doffsets.c Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
dopaque.c Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
dparallel.c documentation improvements for nc_var_par_access() 2020-03-02 16:36:56 -07:00
dpathmgr.c Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
drc.c (1) improve INI parser (2) Fix make discheck 2021-09-30 13:45:09 -06:00
dreadonly.c removed NC from open in dispatch table 2019-08-01 14:30:20 -06:00
ds3util.c Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
dstring.c Merge branch 'master' into byterange.dmh 2019-01-25 14:50:23 -07:00
dtype.c Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
durlmodel.c Prepare for the path management code 2020-10-13 19:12:15 -06:00
dutf8.c Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
dutil.c Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
dv2i.c Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
dvar.c now nsd of 0 is NC_EINVAL for nc_def_var_quantize() 2021-09-10 06:10:20 -06:00
dvarget.c removed non-relaxed coord bounds from test code 2019-11-26 06:20:34 -07:00
dvarinq.c Merge branch 'main' into ejh_quantize_2 2021-09-07 10:44:45 -06:00
dvarput.c now always relax! 2019-11-26 05:36:16 -07:00
dvlen.c Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
ezxml_extra.c Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
json.c Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
Makefile.am Allow optional use of libxml2 2021-11-01 22:37:05 -06:00
nc.c Change (again), and hopefully simplify, the file model inference algorithm. 2019-09-29 12:59:28 -06:00
ncbytes.c Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
ncexhash.c Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
nchashmap.c Avoid infinite loop for finding large prime values 2021-10-14 15:55:04 -06:00
ncjson.c Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
nclist.c Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
nclistmgr.c Change (again), and hopefully simplify, the file model inference algorithm. 2019-09-29 12:59:28 -06:00
nclog.c Add zip file support 2021-01-28 20:11:01 -07:00
ncs3sdk.cpp Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
ncsettings.hdr Add ability to programmatically 2014-08-29 14:51:14 -06:00
nctime.c Fix for :60 seconds in ncdump 2021-01-26 10:24:43 +02:00
ncuri.c Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
ncxcache.c Move to Version 2 NCZarr Extended Meta-Data 2021-07-17 16:55:30 -06:00
netcdf.m4 Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
stubdef.c Updated libdispatch/ files with copyright notice. 2018-12-06 14:29:57 -07:00
u8.c Resolves Github issue https://github.com/Unidata/netcdf-c/issues/349. 2017-02-16 14:27:54 -07:00
u8.h Resolves Github issue https://github.com/Unidata/netcdf-c/issues/349. 2017-02-16 14:27:54 -07:00
utf8proc_data.c Refactored additional constants. 2017-02-28 11:15:51 -07:00
utf8proc.c Separate out the --ansi comment fixes. 2018-12-12 13:23:09 -07:00
utf8proc.h Spelling fixes 2019-09-18 08:03:01 -06:00