mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
53464e8963
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. |
||
---|---|---|
.. | ||
awsincludes.h | ||
CMakeLists.txt | ||
datt.c | ||
dattget.c | ||
dattinq.c | ||
dattput.c | ||
dauth.c | ||
daux.c | ||
dcompound.c | ||
dcopy.c | ||
dcrc32.c | ||
dcrc32.h | ||
dcrc64.c | ||
ddim.c | ||
ddispatch.c | ||
defcheck.c | ||
denum.c | ||
derror.c | ||
dfile.c | ||
dfilter.c | ||
dfilterx.c | ||
dgroup.c | ||
dhttp.c | ||
dinfermodel.c | ||
dinternal.c | ||
dnotnc3.c | ||
dnotnc4.c | ||
doffsets.c | ||
dopaque.c | ||
dparallel.c | ||
dpathmgr.c | ||
drc.c | ||
dreadonly.c | ||
ds3util.c | ||
dstring.c | ||
dtype.c | ||
durlmodel.c | ||
dutf8.c | ||
dutil.c | ||
dv2i.c | ||
dvar.c | ||
dvarget.c | ||
dvarinq.c | ||
dvarput.c | ||
dvlen.c | ||
ezxml_extra.c | ||
json.c | ||
Makefile.am | ||
nc.c | ||
ncbytes.c | ||
ncexhash.c | ||
nchashmap.c | ||
ncjson.c | ||
nclist.c | ||
nclistmgr.c | ||
nclog.c | ||
ncs3sdk.cpp | ||
ncsettings.hdr | ||
nctime.c | ||
ncuri.c | ||
ncxcache.c | ||
netcdf.m4 | ||
stubdef.c | ||
u8.c | ||
u8.h | ||
utf8proc_data.c | ||
utf8proc.c | ||
utf8proc.h |