Skip to content

Commit bab9e41

Browse files
authored
Merge pull request #3089 from DennisHeimbigner/tinyxml.dmh
Step 2 in splitting PR 3068
2 parents 1702c61 + dae46a0 commit bab9e41

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Release Notes {#RELEASE_NOTES}
55

66
This file contains a high-level description of this package's evolution. Releases are in reverse chronological order (most recent first). Note that, as of netcdf 4.2, the `netcdf-c++` and `netcdf-fortran` libraries have been separated into their own libraries.
77

8-
## 4.10.0 - TBD
9-
108
* Step 1 in splitting PR [Github #3068](https://github.com/Unidata/netcdf-c/pull/3068). Update ncjson.[ch] and ncproplist.[ch]. Also fix references to old API. Also fix include/netcdf_ncjson.h and include/netcdf_proplist.h builds. See [Github #3086](https://github.com/Unidata/netcdf-c/pull/3086) for more information.
119
* Provide an auxilliary function, `ncaux_parse_provenance()`, that allows users to parse the _NCProperties attribute into a collection of character pointers. See [Github #3088](https://github.com/Unidata/netcdf-c/pull/3088) for more information.
10+
* Step 2 in splitting PR [Github #3068](https://github.com/Unidata/netcdf-c/pull/3068). Fix a namespace problem in tinyxml2.cpp. Note that this is a visual studio problem hence use of _MSC_VER. Also turn off DAP4 tests against Hyrax server until DAP4 spec problems are fixed. See [Github #3089](https://github.com/Unidata/netcdf-c/pull/3089) for more information.
11+
1212

1313
## 4.9.3 - February 7, 2025
1414

dap4_test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ENDIF()
5252

5353
IF(NETCDF_ENABLE_DAP_REMOTE_TESTS)
5454
add_sh_test(dap4_test test_remote)
55-
add_sh_test(dap4_test test_hyrax)
55+
#Suppress until reconciled with hyrax: add_sh_test(dap4_test test_hyrax)
5656
add_sh_test(dap4_test test_dap4url)
5757
IF(RUN_MANUAL_TESTS)
5858
# The following test can only be run by hand.

dap4_test/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if NETCDF_ENABLE_DAP_REMOTE_TESTS
4747

4848
TESTS += test_remote.sh
4949
TESTS += test_constraints.sh
50-
TESTS += test_hyrax.sh
50+
#Suppress until reconciled with hyrax: TESTS += test_hyrax.sh
5151
TESTS += test_dap4url.sh
5252

5353
# The following test can only be run by hand.

dap4_test/test_hyrax.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
if test "x$srcdir" = "x"; then srcdir=`dirname $0`; fi
44
export srcdir;
55

6+
67
. ../test_common.sh
78

89
. ${srcdir}/d4test_common.sh
@@ -61,7 +62,8 @@ hyraxsplit() {
6162
PREFIX=`dirname $P`
6263
}
6364

64-
if test "x${RESET}" = x1 ; then rm -fr ${BASELINEHY}/*.hyrax ; fi
65+
# Turn on only if regenerating test baseline
66+
#if test "x${RESET}" = x1 ; then rm -fr ${BASELINEHY}/*.hyrax ; fi
6567
for f in $F ; do
6668
hyraxsplit $f
6769
makehyraxurl

libncxml/ncxml_tinyxml2.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515
using namespace tinyxml2;
1616

17+
#ifdef _MSC_VER /*Do not use _WIN32 since this is a visual studio issue */
18+
#define XMLDocument tinyxml2::XMLDocument
19+
#endif
20+
1721
static int ncxml_initialized = 0;
1822

1923
void

unit_test/run_reclaim_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sed -e '/^(c)/p' -ed reclaim_tests.txt | sed -e 's/^(c) //' > reclaim_tests_c.tx
1313
diff reclaim_tests_o.txt reclaim_tests_c.txt
1414
# Also test using ncdump
1515
${NCDUMP} reclaim_tests.nc > reclaim_tests.dmp
16-
diff reclaim_tests.dmp ${srcdir}/reclaim_tests.baseline
16+
diff -b reclaim_tests.dmp ${srcdir}/reclaim_tests.baseline
1717

1818

1919

0 commit comments

Comments
 (0)