Adjustments to the XSD files so that XML files built in the metadata editor can be validated. Note that validated XML files loaded into the online editor will lose information.
One thing I can't figure out: variables of the type xsi:type="co2_socat" require all child elements, even though they're set to minOccurs="0". There's something I don't understand here. The intention is that one of the co2_socat variables contains all the child elements, but not the others. Therefore they should be optional. But as I say, the validator complains about missing child elements.
Used xmllint as validator.
Attached file is a ZIPped XML file that validates against these XSD files.
Adjustments to the XSD files so that XML files built in the metadata editor can be validated. Note that validated XML files loaded into the online editor will lose information.
One thing I can't figure out: variables of the type
xsi:type="co2_socat"
require all child elements, even though they're set tominOccurs="0"
. There's something I don't understand here. The intention is that one of theco2_socat
variables contains all the child elements, but not the others. Therefore they should be optional. But as I say, the validator complains about missing child elements.Used
xmllint
as validator.Attached file is a ZIPped XML file that validates against these XSD files.
119920220401.xml.zip