[Archivesspace_Users_Group] Import error -- "Not a valid date"

Custer, Mark mark.custer at yale.edu
Fri Apr 25 16:15:15 EDT 2014


Cory,

You and Nathan probably already discovered this, but I just took a quick look at the attached file, and it appears that the problem is that there's an entry for November 31st in there.  Once I replaced "1959-11-31" with "1959-11-30", the file imported into ArchivesSpace without any issues.

I've yet to really work on importing EAD into ArchivesSpace, but once I do, I hope that there will be a schematron file (or something similar) that will highlight exactly where these errors occur so that they can be fixed a bit more easily.  Has anyone else already created something like that, in order to check the validity of the normalized dates?  I'm pretty sure that the TEI schema does this.

Mark



From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Cory Nimer
Sent: Thursday, April 24, 2014 4:41 PM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: [Archivesspace_Users_Group] Import error -- "Not a valid date"

We are working on cleaning up our data and have found a few stubborn finding aids that won't import from the AT. The ArchivesSpace import error report gives us the following:

Endpoint: http://54.80.123.196:8089/repositories/7/batch_imports
AT Identifier: MSS 3235
Status code: 200
Status text: OK

{
  "errors": ["Server error: #<:ValidationException: {:errors=>{\"dates/0/begin\"=>[\"not a valid date\"], \"dates/0/end\"=>[\"not a valid date\"]}}>"],
  "saved": []
}

However, going through the EAD output from the Archivists Toolkit we don't get an error through schema validation, and a visual review of the EAD file has not shown any problems. Does anyone know what type of error this message is referring to, and is there any chance that the import process could be more descriptive in giving a line number with the output?

I have attached the EAD file for reference.

Thanks,

Cory Nimer
Manuscripts Cataloger/Metadata Specialist
Brigham Young University
1108 HBLL
(801) 422-6091

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140425/d68f5448/attachment.html>


More information about the Archivesspace_Users_Group mailing list