Uploaded image for project: 'Specifications - Archetype model'
  1. SPECAM-48

Add VTPL validity rule for templates - consistency of languages for flattening.

    Details

    • Type: Change Request
    • Status: Analysis
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: ADL 2.0
    • Fix Version/s: ADL 2.1.0
    • Component/s: AOM, Documentation
    • Labels:
      None
    • Impact Analysis:
      No impact on current archetypes or tools.
    • Change Description:
      Hide
      AOM spec: add validity rule for TEMPLATE type, that says that all referenced archetypes, including indirectly, must contain the root template's original_language among their languages.

      ADL WB: Add validation code to AOM phase 3 validator to traverse template inclusion structure and ensure all archetypes have root parent's original_language available.
      Show
      AOM spec: add validity rule for TEMPLATE type, that says that all referenced archetypes, including indirectly, must contain the root template's original_language among their languages. ADL WB: Add validation code to AOM phase 3 validator to traverse template inclusion structure and ensure all archetypes have root parent's original_language available.

      Description

      Currently, if a template and all referenced archetypes (i.e. slot fillers or external references) validate individually, the template validates. However, if any of the filler archetypes does not have the original_language of the root template, either as an original language or in its translations, flattening and serialisation will fail, because the serialiser will use a single language throughout the structure.

        Attachments

          Activity

            People

            • Assignee:
              thomas.beale Thomas Beale
              Reporter:
              thomas.beale Thomas Beale
              Raised By:
              Thomas Beale
              Analyst:
              Thomas Beale
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 0.5d
                0.5d
                Remaining:
                Remaining Estimate - 0.5d
                0.5d
                Logged:
                Time Spent - Not Specified
                Not Specified