<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;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.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:743071249;
        mso-list-template-ids:177490198;}
@list l1
        {mso-list-id:838156747;
        mso-list-type:hybrid;
        mso-list-template-ids:1827706148 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l2
        {mso-list-id:967277243;
        mso-list-template-ids:1139171000;}
@list l3
        {mso-list-id:1885170116;
        mso-list-type:hybrid;
        mso-list-template-ids:105707846 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l3:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l3:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l3:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3: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" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Sarah,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Following up on Brian’s suggestion that your 008 looks short—depending on how your MARC-XML is being created, you may want to make sure that the blanks aren’t being collapsed by some sort of whitespace normalization
 setting. I know I’ve run into this with oXygen before.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hope this helps,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Regine<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Regine Heberlein (she/her)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Library IT Data Analyst<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">609-258-6156<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="mailto:heberlei@princeton.edu">heberlei@princeton.edu</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#333333;background:white">**</span><i><span style="font-size:12.0pt;color:black;background:white">My working day may not be your working day. Please do not feel obliged to reply to this email outside
 of your normal working hours.</span></i><span style="font-size:12.0pt;color:#333333;background:white">**</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black"><archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of "Newhouse, Sarah" <snewhouse@sciencehistory.org><br>
<b>Reply-To: </b>Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Date: </b>Tuesday, January 24, 2023 at 12:32 PM<br>
<b>To: </b>Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject: </b>Re: [Archivesspace_Users_Group] MARC XML import<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt">Aha! Thank you. I’ll investigate 008 with our cataloging librarians.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p>__________________________________ <br>
<br>
Sarah Newhouse   <em><span style="font-family:"Calibri",sans-serif">(she, her, hers)</span></em>
<br>
Digital Preservation Archivist <br>
Othmer Library of Chemical History  <br>
t. +1.215.873.8249 <o:p></o:p></p>
<p><strong><span style="font-family:"Calibri",sans-serif">Science History Institute </span></strong><br>
Chemistry • Engineering • Life Sciences <br>
315 Chestnut Street • Philadelphia, PA 19106 • U.S.A. <br>
Learn about the scientific discoveries that changed our world at <a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.sciencehistory.org%2Flearn&data=05%7C01%7Cheberlei%40princeton.edu%7C6d2c84b6ab324b96040208dafe30d1e6%7C2ff601167431425db5af077d7791bda4%7C0%7C0%7C638101783624829131%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=IezoHWBx2gb2LQVsCl0wXdsjfE2JD7yZwQtAqfY5dJI%3D&reserved=0">
sciencehistory.org/learn</a><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt">From:</span></b><span style="font-size:11.0pt"> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org>
<b>On Behalf Of </b>Brian Harrington<br>
<b>Sent:</b> Tuesday, January 24, 2023 11:13 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] MARC XML import<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Sarah,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo3"><span style="font-size:11.0pt">The MARCXML importer gets the language from 008/35-37.  I’m not sure what happened to it, but the 008 in your record looks short.  Looking at the code,
 if the language positions are blank the language is set to undefined.  But that would only work if there are actual blanks in those positions.<o:p></o:p></span></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo3"><span style="font-size:11.0pt">Underneath the error messages, you can see a representation of the JSON record that ASpace is trying to load.  If you look at “notes”=>, the first one
 (position 0) has an empty "subnotes"=>[{"jsonmodel_type"=>"note_text"}].  You can see this is an odd note with a label of “Publication date”.  In this case, ASpace is trying to create a date note from the 260$c, which is blank in your case, so the it creates
 a bad note.  However, it’s only trying to create that note because it can’t get the date from the 008.  ASpace only recognizes 008 dates if 008/06 is an i, k, or s, and you have a q there.  It probably should recognize the q, but the quick fix would be to
 change that to an i or an s.<o:p></o:p></span></li></ol>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I hope this helps.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Brian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">-- <o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Brian Harrington (he/him)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Data Migration Specialist<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LYRASIS<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="mailto:brian.harrington@lyrasis.org">brian.harrington@lyrasis.org</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black"><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">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
 on behalf of Newhouse, Sarah <<a href="mailto:snewhouse@sciencehistory.org">snewhouse@sciencehistory.org</a>><br>
<b>Date: </b>Monday, January 23, 2023 at 5:05 PM<br>
<b>To: </b>Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject: </b>[Archivesspace_Users_Group] MARC XML import<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi all, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I would really appreciate another set of eyes on these two errors I’m getting while testing ingest of MARC XML (resource records) from our library catalog into 3.2:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l3 level1 lfo6"><i><span style="font-size:11.0pt">lang_materials/0/language_and_script/language : Property is required but was missing</span></i><span style="font-size:11.0pt"><br>
I’ve tried a few different things here and can’t pinpoint the problem. There isn’t a MARC field that maps to this ASpace field in
<a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1jU6MYF7UI7a-UKdd5XhYCV6W1UyrMMCzYDFlgb8iNW8%2Fedit%23gid%3D1527709562&data=05%7C01%7Cheberlei%40princeton.edu%7C6d2c84b6ab324b96040208dafe30d1e6%7C2ff601167431425db5af077d7791bda4%7C0%7C0%7C638101783624829131%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=VamRLTWcYiAumBGh1onvAT%2B43KdyFfNosb1wn1l6iAQ%3D&reserved=0">
the most recent import map</a> (unless I’m misreading it, which is entirely possible – it’s been a long day), but native ASpace resource records exported as MARCXML will import back in with language and script data, so I can tell there
<i>is</i> a MARC field that maps to this. Based on MARC XML from resource records created in ASpace, I tried adding language info in 040$a or 041$b, but neither resulted in a successful import, just the same error message. Is there a MARC field I’m missing
 in the import map and/or the ASpace-generated MARC? The <a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchivesspace.atlassian.net%2Fwiki%2Fspaces%2FArchivesSpaceUserManual%2Fpages%2F917405730%2FLanguages%2BSub-Record%2Bas%2Bof%2Bv2.7.0&data=05%7C01%7Cheberlei%40princeton.edu%7C6d2c84b6ab324b96040208dafe30d1e6%7C2ff601167431425db5af077d7791bda4%7C0%7C0%7C638101783624829131%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=bMjCBZC%2BXbexQUHTatdgXfoTJVvdka%2FOeUkJQVmnqCI%3D&reserved=0">
Help Center</a> does say this field can be imported as MARC XML, but doesn’t say how.  <o:p></o:p></span></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l3 level1 lfo6"><i><span style="font-size:11.0pt">notes/0/subnotes/0/content : Property is required but was missing</span></i><span style="font-size:11.0pt"><o:p></o:p></span></li></ol>
<p class="MsoListParagraph"><span style="font-size:11.0pt">I see that other folks have encountered this error with an index number to point them to the note that’s missing content, but lacking one here I’m not sure where to start. And looking at my sample files
 with my fallible human eyes I don’t see any empty fields. Has anyone run into this before? Is this just pointing at my missing language field?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">If there’s a resource or guide I’ve missed – especially for interpreting import job errors -- please point me to it! MARC XML is attached (with the added 040 and 041 fields) in case it’s helpful.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thank you! <o:p></o:p></span></p>
<p>__________________________________ <br>
<br>
Sarah Newhouse   <em><span style="font-family:"Calibri",sans-serif">(she, her, hers)</span></em>
<br>
Digital Preservation Archivist <br>
Othmer Library of Chemical History  <br>
t. +1.215.873.8249 <o:p></o:p></p>
<p><strong><span style="font-family:"Calibri",sans-serif">Science History Institute </span></strong><br>
Chemistry • Engineering • Life Sciences <br>
315 Chestnut Street • Philadelphia, PA 19106 • U.S.A. <br>
Learn about the scientific discoveries that changed our world at <a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.sciencehistory.org%2Flearn&data=05%7C01%7Cheberlei%40princeton.edu%7C6d2c84b6ab324b96040208dafe30d1e6%7C2ff601167431425db5af077d7791bda4%7C0%7C0%7C638101783624829131%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=IezoHWBx2gb2LQVsCl0wXdsjfE2JD7yZwQtAqfY5dJI%3D&reserved=0">
sciencehistory.org/learn</a><o:p></o:p></p>
</div>
</body>
</html>