mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-21 08:39:46 +08:00
3a74ee9a94
or seq fields is not a well-defined concept. So for now, I am disallowing them. Required updating a number of test files in dap4_test. This is tagged by the line #undef ALLOWFIELDMAPS in ./libdap4/ncd4types.h. This should affect only dap4 and nothing else.
28 lines
694 B
Plaintext
28 lines
694 B
Plaintext
<Dataset
|
|
name="test_struct_nested.nc"
|
|
dapVersion="4.0"
|
|
dmrVersion="1.0"
|
|
xmlns="http://xml.opendap.org/ns/DAP/4.0#"
|
|
xmlns:dap="http://xml.opendap.org/ns/DAP/4.0#">
|
|
<Types>
|
|
<Structure name="x">
|
|
<Struct name="field1" type="/x_field1"/>
|
|
<Struct name="field2" type="/x_field2"/>
|
|
</Structure>
|
|
<Structure name="x_field1">
|
|
<Int32 name="x"/>
|
|
<Int32 name="y"/>
|
|
</Structure>
|
|
<Structure name="x_field2">
|
|
<Int32 name="x"/>
|
|
<Int32 name="y"/>
|
|
</Structure>
|
|
</Types>
|
|
<Variables>
|
|
<Struct name="x" type="/x"/>
|
|
</Variables>
|
|
<Attribute name="_DAP4_Little_Endian" type="UInt8">
|
|
<Value value="1"/>
|
|
</Attribute>
|
|
</Dataset>
|