sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (SIS-508) MD_Scope in place of DQ_Scope when generating old 2007 iso 19139
Date Tue, 12 Jan 2021 15:25:00 GMT

     [ https://issues.apache.org/jira/browse/SIS-508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Desruisseaux reassigned SIS-508:
---------------------------------------

    Assignee: Martin Desruisseaux

> 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: 2.0
>            Reporter: jean-marc Bourdaret
>            Assignee: Martin Desruisseaux
>            Priority: Minor
>
> 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)

Mime
View raw message