Skip to content

Should the MIVOT block be enclosed in a RESOURCE? #176

@lmichel

Description

@lmichel

This issue comes from the discussion attached to the PR #174

In the current proposal, the MIVOT block (<VODML>....</VODML>) must be enclosed in a RESOURCE@type=meta that can be located anywhere in the host resource. The host resource is the resource that contains the data to be mapped.

Question 1: Do we have to maintain the requirement for the MIVOT resource to be of meta type?

Rationale

The content of RESOURCE@type=meta is meant to be descriptive only (section 3.4).
208705835-45cd041e-33ce-4d28-91db-58ec498c0026

Should we consider the MIVOT block as being descriptive only? I would say yes since it provides a model view on the data. This is certainly questionable however.

Proposal

  • option 1: Keep the meta requirement in place
  • option 2: drop the type=meta requirement if this bothers the implementer job.

Question 2: Do we need to enclose the MIVOT block into a specific RESOURCE?

Rationale

The suggestion is to suppress the requirement for the MIVOT block to be into a specific RESOURCE.
This is feasible but one argument for this MR #174 was not to force the MIVOT block to be in a mandatory location (the head of the host resource). If we drop the encompassing RESOURCE for MIVOT, we require the mapping block to be at the bottom of the host resource: Its location is forced again and therefore, we lose the flexibility we got from the actual MR.

Proposal

  • Option 1: Let the proposal as it is with the MIVOT block located into a specific RESOURCE
RESOURCE
    RESOURCE
        MIVOT block
    DATA
or
RESOURCE
    DATA
    RESOURCE
        MIVOT block
  • Option 2: Put the MIVOT block at the bottom of the resource containing the data to be mapped.
RESOURCE
    DATA
    MIVOT block

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions