Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with rndt-template-service.xml #30

Open
SaraRatto opened this issue Jul 21, 2022 · 2 comments
Open

Problem with rndt-template-service.xml #30

SaraRatto opened this issue Jul 21, 2022 · 2 comments

Comments

@SaraRatto
Copy link

Creating a service metadata with the template: rndt-template-service.xml is not working properly.
In specific the Conformity section presents duplicated gmd:report nodes for INSPIRE compliance (moreover none of them is correctly compiled).

@SaraRatto
Copy link
Author

In updating this the situation we have:
image

This the relative XML (before updating there was only the first node gmd:report):


 <gmd:report>
            <gmd:DQ_DomainConsistency>
               <gmd:result>
                  <gmd:DQ_ConformanceResult>
                     <gmd:specification>
                        <gmd:CI_Citation>
                           <gmd:title>
                              <gco:CharacterString>REGOLAMENTO  (CE)  N.  976/2009  DELLA  COMMISSIONE  del 19   ottobre   2009   recante   attuazione   della   direttiva 2007/2/CE   del Parlamento europeo e del Consiglio per quanto riguarda i servizi di rete</gco:CharacterString>
                           </gmd:title>
                           <gmd:date>
                              <gmd:CI_Date>
                                 <gmd:date>
                                    <gco:Date>2009-10-19</gco:Date>
                                 </gmd:date>
                                 <gmd:dateType>
                                    <gmd:CI_DateTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_DateTypeCode"
                                                         codeListValue="publication">publication</gmd:CI_DateTypeCode>
                                 </gmd:dateType>
                              </gmd:CI_Date>
                           </gmd:date>
                        </gmd:CI_Citation>
                     </gmd:specification>
                     <gmd:explanation>
                        <gco:CharacterString>non conforme</gco:CharacterString>
                     </gmd:explanation>
                     <gmd:pass>
                        <gco:Boolean>false</gco:Boolean>
                     </gmd:pass>
                  </gmd:DQ_ConformanceResult>
               </gmd:result>
            </gmd:DQ_DomainConsistency>
         </gmd:report>
         <gmd:report>
            <gmd:DQ_DomainConsistency>
               <gmd:result>
                  <gmd:DQ_ConformanceResult>
                     <gmd:specification>
                        <gmd:CI_Citation>
                           <gmd:title gco:nilReason="missing">
                              <gco:CharacterString/>
                           </gmd:title>
                           <gmd:date>
                              <gmd:CI_Date>
                                 <gmd:date>
                                    <gco:Date>2010-12-08</gco:Date>
                                 </gmd:date>
                                 <gmd:dateType>
                                    <gmd:CI_DateTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_DateTypeCode"
                                                         codeListValue="publication">publication</gmd:CI_DateTypeCode>
                                 </gmd:dateType>
                              </gmd:CI_Date>
                           </gmd:date>
                        </gmd:CI_Citation>
                     </gmd:specification>
                     <gmd:explanation>
                        <gco:CharacterString>Fare riferimento alle specifiche indicate</gco:CharacterString>
                     </gmd:explanation>
                     <gmd:pass gco:nilReason="unknown"/>
                  </gmd:DQ_ConformanceResult>
               </gmd:result>
            </gmd:DQ_DomainConsistency>
         </gmd:report>

@SaraRatto
Copy link
Author

SaraRatto commented Dec 1, 2022

The problem is actually related to imported and transformed metadata according RNDT2.0 XSL. These metadata mantain the old, but still admitted, structure:

<gmd:DQ_ConformanceResult>
                     <gmd:specification>
                        <gmd:CI_Citation>
                           <gmd:title>
                              <gco:CharacterString>REGOLAMENTO  (CE)  N.  976/2009  DELLA  COMMISSIONE  del 19   ottobre   2009   recante   attuazione   della   direttiva 2007/2/CE   del Parlamento europeo e del Consiglio per quanto riguarda i servizi di rete</gco:CharacterString>
                           </gmd:title>
<…..>

In the editor in the modify mode this structure is not rendered on the page then there is no conformance block. Moreover if you try to add a new block it happens what shows in the comment before: #30 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant