Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Doesn't handle Dublin Core (DC) repeating fields correctly #204

Open
ross-spencer opened this issue Jun 8, 2020 · 0 comments
Open

Comments

@ross-spencer
Copy link

ross-spencer commented Jun 8, 2020

When using Dublin Core in Archivematica with repeating fields it's not clear how they will be resolved in Scope. I believe only one of the fields will be used, but I believe because we're working with a dict type once it is parsed then the actual field that will come out in the display is unpredictable. (Though I'm largely seeing the second or last field value appear in the UI).

UI screenshot

image

XML as stored in my DIP

    <mets:mdWrap MDTYPE="DC">
      <mets:xmlData>
        <dcterms:dublincore xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xsi:schemaLocation="http://purl.org/dc/terms/ https://dublincore.org/schemas/xmls/qdc/2008/02/11/dcterms.xsd">
          <dc:title>Scope sample collection</dc:title>
          <dc:creator>Creator One</dc:creator>
          <dc:subject>Subject One</dc:subject>
          <dc:subject>Subject Two</dc:subject>
          <dc:subject>Subject Three</dc:subject>
          <dc:subject></dc:subject>
          <dc:subject></dc:subject>
          <dc:description>Dublin core descriptive information</dc:description>
          <dc:publisher>Publisher one</dc:publisher>
          <dc:publisher>Publisher two</dc:publisher>
          <dc:contributor>Contributor one</dc:contributor>
          <dc:contributor>Controbutor two</dc:contributor>
          <dc:date></dc:date>
          <dc:type></dc:type>
          <dc:format>Format one</dc:format>
          <dc:format>Format two</dc:format>
          <dc:identifier>id:one</dc:identifier>
          <dc:identifier>id:two</dc:identifier>
          <dc:source>Source one</dc:source>
          <dc:source>Source two</dc:source>
          <dc:language>en</dc:language>
          <dc:language>fr</dc:language>
          <dc:relation></dc:relation>
          <dc:coverage></dc:coverage>
          <dc:rights></dc:rights>
        </dcterms:dublincore>
      </mets:xmlData>
    </mets:mdWrap>
  </mets:dmdSec>

And this was generated from the Demo CSV sample transfer with an additional SIP level metadata row. I have attached it below for ease of testing in future.

DemoTransferCSVWithSIPDC.zip

The DIP for uploading (a zipped tar):

demoCSV-2ece5811-06c5-407c-8866-cd42088e9fdf.zip

@ross-spencer ross-spencer changed the title Problem: Doesn't handle DC repeating fields correctly Problem: Doesn't handle Dublin Core (DC) repeating fields correctly Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant