Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Things like RecommendationText, DescriptionText, etc. #212

Copy link
Copy link

Description

@skinkie
Issue body actions

In the SIRI definition we have elements like DescriptionText which have maxOccurs unbounded. I think this is a problem. What this technically allows is creating of multiple DescriptionTexts without specifying how it should be combined. I think the unbounding is used to facilitate translations. Hence it makes sense to have multiple DescriptionTexts but only if they have a different language. I think we could enforce this with a local unique constraint if a language is provided but not when the xml:lang element is empty.

<xsd:element name="DescriptionText" type="DefaultedTextStructure" maxOccurs="unbounded">

My suggestion for SIRI 3.0: Follow the NeTEx 2.0 pattern, where we would get a single DescriptionText like:

<DescriptionText>
  <Text lang="nl">Hallo Wereld</Text>
  <Text lang="en">Hello World</Text>
</DescriptionText>

If we would then have more DescriptionContent like DescriptionAudio we would have the content itself bundled.

Reactions are currently unavailable

Metadata

Metadata

Labels

SXFor everything SIRI-SXFor everything SIRI-SXgeneralFor general questions or issues about SIRIFor general questions or issues about SIRI

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.