Invalid child element 'Value' in TimeRange of Actual Content Constraint - SDMXRI-1213 (NSI 7.10.4)
When retrieving all references of a dataflow that include actual content constraint with time range, the SDMX-ML is malformed as it includes an invalid 'Value' element.
For the following query:
http://nsi-stable-qa-oecd.redpelicans.com/rest/dataflow/OECD/AIR_EMISSIONS_DF/1.0?references=all
when using the returned SDMX-XML for submission (POST) into another data space, then the error returned is: 400 Bad Request "The element 'KeyValue' in namespace 'http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common' has invalid child element 'Value' in namespace 'http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common'. - Structure Fails Validation: {0}"
The returned SDMX-ML from the above query contains this:
...
</common:KeyValue>
<common:KeyValue id="TIME_PERIOD">
<common:TimeRange>
<common:StartPeriod isInclusive="false">1990-01-01T00:00:00</common:StartPeriod>
<common:EndPeriod isInclusive="false">2017-01-01T00:00:00</common:EndPeriod>
</common:TimeRange>
<common:Value></common:Value>
</common:KeyValue>
</structure:CubeRegion>
</structure:ContentConstraint>
...
Edited by Jens Dossé