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] [Commented] (SIS-508) MD_Scope in place of DQ_Scope when generating old 2007 iso 19139
Date Tue, 12 Jan 2021 15:29:00 GMT

    [ https://issues.apache.org/jira/browse/SIS-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263424#comment-17263424
] 

Martin Desruisseaux commented on SIS-508:
-----------------------------------------

Thanks for the report. I will try to fix this week or next week. I have set "affected version"
to 1.0 because it is the current release; versions 1.1 and 2.0 are not yet released. The fix
is targeted for 1.1 release (available before on Git repository).

> 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)

Mime
View raw message