Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4543

Item Import SAF should handle multiple metadata schemas

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Code Review Needed (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 6.3, 7.0
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None
    • Environment:
      Debian Linux 10, Tomcat, Oracle Java 8 (1.8.0_241-b07)
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Needed

      Description

      In the SAF item import, the metadata schema can only be specified once at the root node of the new items' dublin_core.xml, i.e.

      /dublin_core/@schema

      , which defaults to the DC schema, if omitted.

       

      After introducing the DCTERMS and local metadata schemas, one might use fields from multiple schemas in the item import process to describe a particular item.

       

      In order to retain backward compatibility, our proposal in the dublin_core.xml is as follows:

      1. we still allow specifying the schema at the root node
      /dublin_core/@schema

      , which defaults to the DC schema, if omitted.

      1. for each metadata node
        /dublin_core/dcvalue

        , we allow the optional

        schema

        attribute to specify the schema for the particular node. If the schema is omitted on the dcvalue node, then it defaults to the schema derived in Step 1 as above.

       

      What do you think? We are to create a PR to implement the proposed behavior.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jmarton Jozsef Marton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: