Description
When building DefaultDataQuality objects with a Scope ,
Generated XML may not contain the appropriate DQ_Scope tag.
I understand that DQ_Scope was deprecated in iso19115:2014, in favor of MD_Scope. but it might still be valid when generating iso19115:2007 XML.
exemple:
DefaultDataQuality dataQuality = new DefaultDataQuality(ScopeCode.DATASET);
and then :
XML.marshal(sisMetadata,new StreamResult( xmlOut ), Map.of(XML.METADATA_VERSION, "2007"))
will produce :
...<gmd:dataQualityInfo> <gmd:DQ_DataQuality> <gmd:scope> <gmd:MD_Scope> <gmd:level> <gmd:MD_ScopeCode ...
and I was expecting :
...<gmd:dataQualityInfo> <gmd:DQ_DataQuality> <gmd:scope> <gmd:DQ_Scope> <gmd:level> <gmd:MD_ScopeCod
because it should be a iso19115:2007 compliant document.
using SIS v2.0 on the Geomatys repo.