[Archivesspace_Users_Group] EAD Import Issue...
Steven Majewski
sdm7g at virginia.edu
Fri Jul 31 12:31:20 EDT 2015
You might also try changing the encoding of the EAD file in the XML header.
If it’s not declared, by default it’s UTF-8.
Change the first line to:
<?xml version="1.0" encoding="windows-1252"?>
( I don’t know for a fact if this will work for ArchivesSpace, but it works with most parsers and validators. )
Alternatively, if you have ‘iconv’ you can run a conversion thru that program to change the encoding:
iconv -f WINDOWS-1252 -t UTF-8
— Steve Majewski
> On Jul 31, 2015, at 12:17 PM, Tomecek, Christy <christy.tomecek at yale.edu> wrote:
>
> Hello,
>
> I think the issue is that there are Word “Smart Quotes” in your text fields (not the markup itself). The EAD won’t validate if they are present.
>
> Example (Smart quote highlighted):
>
> <abstract label="Abstract">Dating from 1918 to 2000, the History and Background Information series consists of written histories, newspaper clippings, and anniversary publications documenting St. Vincent’s steady growth in the Lincoln Park neighborhood.
>
> There is a way to turn off Smart Quotes in Word so this way you don’t have to go line by line fixing them if you are doing a copy-paste from a Word Document into ASpace.
>
> · Open Word. Go to File (or if you are in Windows 8/8.1, go to the Windows logo button).
> · Scroll to the bottom of the sidebar where things like "New," "Save," etc. are and click on "Options" at the bottom.
> · Go to "Proofing," located on the sidebar.
> · Go to "AutoCorrect Options" in the main panel.
> · Go to the "AutoFormat As You Type" tab and uncheck the "'Straight quotes' with 'smart quotes'" options under "Replace When You Type."
>
> Best,
> Christy
>
> --
>
> Christy Tomecek
> Archives Assistant
> Yale University Library
> Manuscripts and Archives
> 203-432-7382
> christy.tomecek at yale.edu <mailto:christy.tomecek at yale.edu>
>
>
> From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Rossetti, Dominic
> Sent: Friday, July 31, 2015 11:58 AM
> To: 'archivesspace_users_group at lyralists.lyrasis.org'
> Subject: [Archivesspace_Users_Group] EAD Import Issue...
>
> Hey all,
>
> When trying to import EAD I get the following error message in the log file:
>
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> IMPORT ERROR
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
>
> Error: #<Encoding::UndefinedConversionError: ""\x9D"" from Windows-1252 to UTF-8>
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> I’ve attached a file as an example. The EAD is valid and correct. Not sure what is causing the issue.
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150731/4fc0097a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4943 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150731/4fc0097a/attachment.bin>
More information about the Archivesspace_Users_Group
mailing list