mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-21 08:39:46 +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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
d4bytes.c | ||
d4bytes.h | ||
d4chunk.c | ||
d4chunk.h | ||
d4curlflags.c | ||
d4curlfunctions.c | ||
d4curlfunctions.h | ||
d4cvt.c | ||
d4data.c | ||
d4debug.c | ||
d4debug.h | ||
d4dump.c | ||
d4file.c | ||
d4fix.c | ||
d4http.c | ||
d4http.h | ||
d4includes.h | ||
d4mem.c | ||
d4meta.c | ||
d4odom.c | ||
d4odom.h | ||
d4parser.c | ||
d4printer.c | ||
d4read.c | ||
d4read.h | ||
d4swap.c | ||
d4util.c | ||
d4util.h | ||
d4varx.c | ||
Makefile.am | ||
ncd4.h | ||
ncd4dispatch.c | ||
ncd4dispatch.h | ||
ncd4types.h |