Issues with valid characters in file names in filesec

32 views
Skip to first unread message

Ashley Ray

unread,
May 20, 2024, 4:55:42 AMMay 20
to archivematica
Hello,

I've searched the group but I didn't find anyone else having this issue. I've recently noticed an issue with valid characters being escaped in the filesec: 

<mets:fileSec>
    <mets:fileGrp USE="original">
      <mets:file ID="file-1112edc8-28de-4cca-b8ad-24bf7d570a16" GROUPID="Group-1112edc8-28de-4cca-b8ad-24bf7d570a16" ADMID="amdSec_5">
        <mets:FLocat xlink:href="objects/AdbeRdr811_en_US.exe" LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" />
      </mets:file>
      <mets:file ID="file-13a34d89-e1bb-429a-8574-0e523c7c1ab6" GROUPID="Group-13a34d89-e1bb-429a-8574-0e523c7c1ab6" ADMID="amdSec_18">
        <mets:FLocat xlink:href="objects/Revised_GANNT_31_October_2007.pdf" LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" />
      </mets:file>
      <mets:file ID="file-91bdf587-5e68-4f0d-8f9a-4e648b195ddf" GROUPID="Group-91bdf587-5e68-4f0d-8f9a-4e648b195ddf" ADMID="amdSec_8">
        <mets:FLocat xlink:href="objects/Facilitator_s_time_recording_sheet_%28DRAFT%29.doc" LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" />
      </mets:file>


However, every other instance of this file name in the METS shows it as it should be: 

        <mets:div TYPE="Item" LABEL="Facilitator_s_time_recording_sheet_(DRAFT).doc">
          <mets:fptr FILEID="file-91bdf587-5e68-4f0d-8f9a-4e648b195ddf" />
        </mets:div>


There are no <premis:eventType>filename change</premis:eventType> in the METS so no file names have been changed at all. 

Does anyone else have this issue? 

What's causing the filesec to have a different treatment of the parentheses in this file name than anywhere else in the METS? And how can it be fixed?

Best,

Ashley

McGranahan, Jamen (VU)

unread,
May 21, 2024, 8:12:28 AMMay 21
to archiv...@googlegroups.com

Ashley –

 

Looks like it’s just encoding the parentheses:

%28 = (

%29 = )

(HTML URL Encoding Reference (w3schools.com))

 

 

Vanderbilt

 

Jamen McGranahan
Associate Director of Library Technology & Assessment Services

Vanderbilt Libraries | Vanderbilt University
615.343.1614
jamen.mc...@vanderbilt.edu | https://www.library.vanderbilt.edu/

Pronouns: he/him/his

--
You received this message because you are subscribed to the Google Groups "archivematica" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archivematic...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/archivematica/d5d03f3c-d009-4680-9845-f68fce9149dfn%40googlegroups.com.

Message has been deleted

Ashley Ray

unread,
May 21, 2024, 10:56:49 AMMay 21
to archivematica
Hi Jamen,

Thanks for your reply! Yes, it's encoding the parentheses but I am not sure why it needs to do this only in the filesec when the rest of the METS does not have encoded parentheses. It's causing my workflow downstream to look for a file in out storage service with the encoded parentheses but it's only there with the regular parentheses so I get an error unfortunately. 

Best,

Ashley

Reply all
Reply to author
Forward
0 new messages