<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:897087919;
        mso-list-type:hybrid;
        mso-list-template-ids:847394110 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Mark, all:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I should’ve also added that:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">1)<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span style="color:#1F497D">in the file that I attached previously, I changed those @type=”Series” values to @type=”Box”.  If that’s not what you want, then don’t use that file without changing those values back.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">2)<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span style="color:#1F497D">If you’re importing EAD into ArchivesSpace, you might want to check out this blog post,
<a href="http://campuspress.yale.edu/yalearchivesspace/2015/07/22/validation-scenarios/">
http://campuspress.yale.edu/yalearchivesspace/2015/07/22/validation-scenarios/</a>, which details how you can bulk validate your files to see if they’re ready for ingest into ASpace (the validation scenario discussed there doesn’t check all of the edge cases,
 but it will let you know if you have any extent statements, for instance, that ASpace doesn’t like).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org]
<b>On Behalf Of </b>Custer, Mark<br>
<b>Sent:</b> Friday, October 09, 2015 2:38 PM<br>
<b>To:</b> mcyzyk@jhu.edu; Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Problem importing EAD file<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText">Mark,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I notice three issues that you might want to investigate. 
<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Firstly, this file is not entirely EAD valid since the eadid/@mainagencycode and the archdesc/did/unitid/@repository code aren't valid values according to the EAD 2002 schema.  This shouldn't cause any import problems, though, since
 ArchivesSpace doesn't check to see if the files are EAD valid.  So, if this file is just being used to transport the data, there’s really no need to fix anything here.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Secondly, and the one thing that will cause an import problem, is this type of encoding for the extent:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><physdesc label="Physical Description"><extent encodinganalog="300"
<span style="background:aqua;mso-highlight:aqua">type="Photographs"</span>><span style="background:yellow;mso-highlight:yellow">15000.00</span></extent></physdesc><o:p></o:p></p>
<p class="MsoPlainText">(which is perfectly fine EAD, but not something that ASpace will accept)<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">To fix that, just change the text value 15000.00 to "15000 photographs".
<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thirdly, there are a lot of container groups that have values like this:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">                <container type="Series">2</container><o:p></o:p></p>
<p class="MsoPlainText">                <container type="Folder">105</container><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I'm assuming that first container should actually be type="Box" instead of Series?  Either way, the way the current EAD importer works, unless those container elements have matching @id and @parent attributes, then they will be imported
 as separate instances, which is probably not something that you want.   To add the @id and @parent attributes, you can use a style sheet like this one,
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_YaleArchivesSpace_xslt-2Dfiles_blob_master_EAD-5Fadd-5FIDs-5Fto-5Fcontainers.xsl&d=AwMGaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=s7ciGQfUJeaV_ryx908hbeXDoU9aqDwDN0Z0VbfsJ3Y&m=LatCfECXnq8fraGR0G-n2EPwjUpkQiGrFK6uVBYG_6k&s=d1dMBlvBek5OPXGfV37nobChB76EY_gdIMa2y2-HF8U&e=">
https://github.com/YaleArchivesSpace/xslt-files/blob/master/EAD_add_IDs_to_containers.xsl</a>
<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I've made adjustments for all 3 issues and then was able to import the file just fine.  I've also attached the EAD that I used.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I hope that helps,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Mark<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----Original Message-----<br>
From: <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]
 On Behalf Of Mark Cyzyk<br>
Sent: Friday, October 09, 2015 1:14 PM<br>
To: <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a><br>
Subject: [Archivesspace_Users_Group] Problem importing EAD file<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">All,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I am having a vexing issue:  I have exported an EAD file out of an old instance of Archon and am trying to get it to import into the very latest instance of ArchivesSpace.  I've gone back and forth a bit, fixing things on the Archon
 side that were required on the ArchivesSpace side.  I have, however, run into one last ArchivesSpace error that I can't figure out how to solve. I have attached my Archon-exported EAD file to this message, and I've pasted the ArchivesSpace error log below.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">ArchivesSpace is indicating that there is something wrong with our Extent field, but I just don't see what it could be.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Advice appreciated!<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Mark<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-- <o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><o:p> </o:p></p>
<p class="MsoPlainText">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></p>
<p class="MsoPlainText">Scholarly Communication Architect<o:p></o:p></p>
<p class="MsoPlainText">User Interface Applications Group<o:p></o:p></p>
<p class="MsoPlainText">The Sheridan Libraries<o:p></o:p></p>
<p class="MsoPlainText">The Johns Hopkins University<o:p></o:p></p>
<p class="MsoPlainText"><a href="mailto:mcyzyk@jhu.edu"><span style="color:windowtext;text-decoration:none">mcyzyk@jhu.edu</span></a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Verba volant, scripta manent.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">ArchivesSpace Error Log:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">==================================================<o:p></o:p></p>
<p class="MsoPlainText">photographic_collection.xml<o:p></o:p></p>
<p class="MsoPlainText">==================================================<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<o:p></o:p></p>
<p class="MsoPlainText">IMPORT ERROR<o:p></o:p></p>
<p class="MsoPlainText">!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">The following errors were found:<o:p></o:p></p>
<p class="MsoPlainText">     extents : At least 1 item(s) is required<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">  For JSONModel(:resource):<o:p></o:p></p>
<p class="MsoPlainText">  #<JSONModel(:resource) {"jsonmodel_type"=>"resource", "external_ids"=>[], "subjects"=>[], "linked_events"=>[], "extents"=>[], "dates"=>[{"jsonmodel_type"=>"date", "uri"=>nil, "import_context"=>"<unitdate class=\"cdata\" encodinganalog=\"245$f\"
<o:p></o:p></p>
<p class="MsoPlainText">label=\"Dates\" normal=\"1925/1984\" type=\"inclusive\"> ...
<o:p></o:p></p>
<p class="MsoPlainText"></unitdate>", "date_type"=>"inclusive", "expression"=>"1925-1984", "label"=>"creation", "begin"=>"1925", "end"=>"1984"}], "external_documents"=>[], "rights_statements"=>[], "linked_agents"=>[], "restrictions"=>false, "revision_statements"=>[],
 "instances"=>[], "deaccessions"=>[], "related_accessions"=>[], "classifications"=>[], "notes"=>[{"jsonmodel_type"=>"note_singlepart", "content"=>["<extent encodinganalog=\"300\" type=\"Photographs\">15000.00</extent>"],<o:p></o:p></p>
<p class="MsoPlainText">"uri"=>nil, "import_context"=>"<physdesc class=\"cdata\" <o:p>
</o:p></p>
<p class="MsoPlainText">label=\"Physical Description\"> ... </physdesc>", "type"=>"physdesc"}], "uri"=>"/repositories/import/resources/import_7f8679e3-a736-4187-bfbb-61a253bbf602",<o:p></o:p></p>
<p class="MsoPlainText">"ead_id"=>"02/II/II", "finding_aid_title"=>"Guide to the Photographic Collection - BCH 1925- June 30, 1984", "finding_aid_filing_title"=>"Photographic Collection", "level"=>"collection", "publish"=>true, "title"=>"Photographic Collection
 - BCH 1925- June 30, 1984", "id_0"=>"02/II/II"}><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">In :<o:p></o:p></p>
<p class="MsoPlainText">  &lt;ead audience=&quot;external&quot; class=&quot;cdata&quot; schemaLocation=&quot;https://urldefense.proofpoint.com/v2/url?u=http-3A__www.loc.gov_ead_&d=AwICaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=s7ciGQfUJeaV_ryx908hbeXDoU9aqDwDN0Z0VbfsJ3Y&m=aPj7tEKG4VP8iJDbKd6Eg-yBbhW05dcEhCDqnlwBL8w&s=wSHGKKU4rC4bRqtd715tkmPfEZuF2HskmIGtvKpj-Uw&e=<o:p></o:p></p>
<p class="MsoPlainText"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.loc.gov_ead_ead.xsd-26quot-3B&d=AwICaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=s7ciGQfUJeaV_ryx908hbeXDoU9aqDwDN0Z0VbfsJ3Y&m=aPj7tEKG4VP8iJDbKd6Eg-yBbhW05dcEhCDqnlwBL8w&s=txrVbjoWY4-3KEBqFel7L7ltArUS47MtZz5zExlzWCE&e"><span style="color:windowtext;text-decoration:none">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.loc.gov_ead_ead.xsd-26quot-3B&d=AwICaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=s7ciGQfUJeaV_ryx908hbeXDoU9aqDwDN0Z0VbfsJ3Y&m=aPj7tEKG4VP8iJDbKd6Eg-yBbhW05dcEhCDqnlwBL8w&s=txrVbjoWY4-3KEBqFel7L7ltArUS47MtZz5zExlzWCE&e</span></a>=<o:p></o:p></p>
<p class="MsoPlainText">xmlns=&quot;urn:isbn:1-931666-22-9&quot;<o:p></o:p></p>
<p class="MsoPlainText">xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;<o:p></o:p></p>
<p class="MsoPlainText">xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt; ...
<o:p></o:p></p>
<p class="MsoPlainText">&lt;/ead&gt;<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
</div>
</body>
</html>