Projet

Général

Profil

Actions

Anomalie #53

fermé

Unsupported version for rolecode

Ajouté par Andrea Peri il y a plus de 9 ans. Mis à jour il y a plus de 9 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
Début:
04/11/2014
Echéance:
05/11/2014
% réalisé:

100%

Temps estimé:
0.50 h
# ref:

Description

Hi,
I notice that geonetwork (I use metadata from geonetwork to test qsphere)

Generate this kind of xml fragment:

<gmd:role>
<gmd:CI_RoleCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_RoleCode"   codeListValue="pointOfContact"/>
</gmd:role>

This kind of fragment use the attribute codeListValue to set the pointOfContact.

Instead the fragment from qsphere use the tagname to set the kind-of-role.
I test also using xmlspy to verify if there is a preferrable validity choice, but both are valid.

So I choose to report it to you.

I'm not really sure if is a bug to not support the version without the tagname.

I add the xml to the ticket.
Regards.

Regards,

Andrea.


Fichiers

test3_xml_iso19139.zip (4,55 ko) test3_xml_iso19139.zip xml to test the point-of-contact and the proprietary responsible party. Andrea Peri, 04/11/2014 21:12

Mis à jour par Christophe MASSE il y a plus de 9 ans

  • Echéance mis à 07/11/2014
  • Assigné à mis à Christophe MASSE
  • Version cible mis à QSphere 2.6.1
  • Temps estimé mis à 0.50 h

Mise en place d'un mode alternatif pour récupérer cette possibilité d'indication du rôle par la simple propriété CodeListValue.
Ce mode alternatif est déjà en place pour d'autres tags du parser XML. Aucune difficulté technique, juste à implémenter, mettre en place le contrôle (pas d'exécution automatique nécessaire) et tester.

Mis à jour par Christophe MASSE il y a plus de 9 ans

  • Echéance changé de 07/11/2014 à 05/11/2014
  • % réalisé changé de 0 à 100

Mis à jour par Christophe MASSE il y a plus de 9 ans

  • Statut changé de Nouveau à Fermé

Les premiers tests semblent corrects sur l'implémentation du mode alternatif mis en place.

Actions

Formats disponibles : Atom PDF