[ https://issues.apache.org/jira/browse/SIS-508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Desruisseaux resolved SIS-508. ------------------------------------- Resolution: Fixed Fixed on {{master}} and on branches {{geoapi-3.1}} and {{geoapi-4.0}}. Given that the fix was a little bit more complex than I thought, if anyone has a chance to test if there is no regression, that would be appreciated. > MD_Scope in place of DQ_Scope when generating old 2007 iso 19139 > ----------------------------------------------------------------- > > Key: SIS-508 > URL: https://issues.apache.org/jira/browse/SIS-508 > Project: Spatial Information Systems > Issue Type: Bug > Components: Metadata > Affects Versions: 1.0 > Reporter: jean-marc Bourdaret > Assignee: Martin Desruisseaux > Priority: Minor > Fix For: 1.1 > > > 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. > h4. exemple: > {code:java} > DefaultDataQuality dataQuality = new > DefaultDataQuality(ScopeCode.DATASET);{code} > and then : > {code:java} > XML.marshal(sisMetadata,new StreamResult( xmlOut ), > Map.of(XML.METADATA_VERSION, "2007")) > {code} > will produce : > {code:java} > ...<gmd:dataQualityInfo> > <gmd:DQ_DataQuality> > <gmd:scope> > <gmd:MD_Scope> > <gmd:level> > <gmd:MD_ScopeCode ... > {code} > and I was expecting : > {code:java} > ...<gmd:dataQualityInfo> > <gmd:DQ_DataQuality> > <gmd:scope> > <gmd:DQ_Scope> > <gmd:level> > <gmd:MD_ScopeCod > {code} > because it should be a iso19115:2007 compliant document. > using SIS v2.0 on the Geomatys repo. -- This message was sent by Atlassian Jira (v8.3.4#803005)