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

Attributs Name/Type/Value dans les PublishedActions des Situations #7

Open
albanpeignier opened this issue Jan 23, 2024 · 4 comments
Open
Assignees
Labels
bug Something isn't working déjà discuté en attente réponse CEN en attente validation GT7 validé en sous-groupe, à reporter en plénière GT7 SX Tout ce qui concerne SIRI-SX
Milestone

Comments

@albanpeignier
Copy link
Collaborator

albanpeignier commented Jan 23, 2024

Dans une PublishedAction, le profil SIRI France décrit la structure ActionData et notamment son attribut Name.

image

Mais les attributs Type et Value sont obligatoires dans la XSD SIRI et ne sont pas décrits dans le profil:

response.xml:752:0: ERROR: Element '{http://www.siri.org.uk/siri}Value': This element is not expected. Expected is ( {http://www.siri.org.uk/siri}Type ).
response.xml:754:0: ERROR: Element '{http://www.siri.org.uk/siri}Prompt': This element is not expected. Expected is ( {http://www.siri.org.uk/siri}Value ).

Dans les premiers échanges autour de cette structure PublishedAction/ActionData, les attributs Type et Prompt trouvent une utilitée. En revanche, les attributs Name et Value semblent inutiles.

<siri:PtSituationElement>
  <siri:PublishingActions>
    <siri:PublishToWebAction>
      <!-- ... -->
      <siri:ActionData>
        <siri:Name>often empty</siri:Name>

        <siri:Type>short</siri:Type>
        <siri:Value>uncertain of what to enter</siri:Value>

        <siri:Prompt xml:lang="NO">Toget vil bytte togmateriell på Dovre. Du må dessverre bytte tog på denne stasjonen.</siri:Prompt>

      </siri:ActionData>
    </siri:PublishToWebAction>
  </siri:PublishingActions>
</siri:PtSituationElement>
@thbar
Copy link
Collaborator

thbar commented Mar 25, 2024

Je déplace cela vers le nouveau repository etalab/transport-profil-netex-fr#65.

@thbar thbar transferred this issue from etalab/transport-profil-netex-fr Mar 25, 2024
@TuThoThai
Copy link
Collaborator

Décision du groupe en date du 3 décembre 2024 :

  • clarifier Type et Prompt
  • remonter au niveau CEN (TC278 WG3 SG7) l'erreur dans la XSD pour la cardinalité de Name qui devrait être à 0:1 au lieu de 1:1

@TuThoThai TuThoThai self-assigned this Dec 3, 2024
@TuThoThai TuThoThai added bug Something isn't working en attente validation GT7 validé en sous-groupe, à reporter en plénière GT7 résolu résolu, en attente de clôture et/ou PR labels Dec 3, 2024
@TuThoThai TuThoThai added this to the v1.8 milestone Dec 3, 2024
@TuThoThai TuThoThai added SX Tout ce qui concerne SIRI-SX and removed résolu résolu, en attente de clôture et/ou PR labels Dec 3, 2024
@TuThoThai
Copy link
Collaborator

La question de la cardinalité de l'attribut Name a été remontée côté SG7 ici

@TuThoThai
Copy link
Collaborator

PR faite ici

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working déjà discuté en attente réponse CEN en attente validation GT7 validé en sous-groupe, à reporter en plénière GT7 SX Tout ce qui concerne SIRI-SX
Projects
None yet
Development

No branches or pull requests

3 participants