Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.3, 0.4, 0.5, 0.6, 0.7
    • Fix Version/s: 0.8
    • Component/s: Metadata
    • Labels:
      None

      Description

      We could simplify and clarify a little bit the tree produced by the MetadataTreeFormat by using two additional rules:

      Use less lines in simple case

      If a property has the same name than the parent property that contains it, we could write its value in that parent property. For example instead of:

      Citation
       └─Date
          ├─Date…………………… 2012/01/01
          └─Date type …… Creation
      

      We could simplify as:

      Citation
       └─Date…………………………… 2012/01/01
          └─Date type …… Creation
      

      Tell the sub-type

      If a property has the same name than the value type, and if that value type has sub-type, we could format the actual value sub-type in the tree. For example Citation as a property named party of type Party (ignoring multi-occurrences). But Party has two sub-types: Individual and Organisation. So instead of:

      Citation
       └─Cited responsible party
          └─Party
             └─Name ……………………………… Jon Smith
      

      It would be helpful to format:

      Citation
       └─Cited responsible party
          └─Individual
             └─Name ……………………………… Jon Smith
      

        Attachments

          Activity

            People

            • Assignee:
              desruisseaux Martin Desruisseaux
              Reporter:
              desruisseaux Martin Desruisseaux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: