DDXXMLBase
From OPeNDAP Documentation
Description
Based on this recommendation: http://www.w3.org/TR/xmlbase/#syntax
We'll add the attribute xml:base to the dap:Dataset element.
The namespace associated with the xml prefix is: http://www.w3.org/XML/1998/namespace and the prefix MUST be declared in the dap:Dataset element:
<Dataset xmlns="http://xml.opendap.org/ns/DAP/3.2#" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.opendap.org/ns/DAP/3.2# http://xml.opendap.org/dap/dap3.2.xsd" name="200803061600_HFRadar_USEGC_6km_rtv_SIO.nc" xml:base="http://dev1.opendap.org:8080/opendap/netcdf/examples/200803061600_HFRadar_USEGC_6km_rtv_SIO.nc.ddx" >
Proposed Hyrax Implementation
To cause the BES to pass the xml:base to libdap for inclusion in the DDX we need to Implement either a get command parameter or a new context for setContext
setContext
<setContext name="xml:base">valueOf(xml:base)</setContext>
get
<get type="ddx" definition="d1" xml:base="valueOf(xml:base)" />