<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Steven,</p>
<p><br>
</p>
<p>Yes, the id is randomly generated since there is a need to have the ability to associated containers to their possible children ( by way of a @id and @parent_id ). The problem is that when creating the container node, currently it's not known if a child
 container is on the way, so the @id has to be made just in case. </p>
<p><br>
</p>
<p>Is it a large blocker for you? </p>
<p>b,chris. <br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Chris Fitzpatrick | <font size="2">Developer, ArchivesSpace</font><br>
Skype: chrisfitzpat  | Phone: 918.236.6048<br>
http://archivesspace.org/<br>
</div>
</font></div>
</div>
</div>
<div style="word-wrap:break-word">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Steven Majewski
 <sdm7g@virginia.edu><br>
<b>Sent:</b> Friday, January 23, 2015 9:04 PM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> [Archivesspace_Users_Group] container ids in exported EAD changing</font>
<div> </div>
</div>
<div>
<div><br>
</div>
<div>I was just doing some tests on exporting EAD ( AS v1.1.1 ) and I noticed </div>
<div>that the container ids  change on every export:</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="margin:0px; font-size:12px">        <span style="color:#021da7"><c02</span><span style="color:#f9975e"> id</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"aspace_ce99c6434158423922d1cb7269d2d6eb"</span><span style="color:#f9975e">
 level</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"file"</span><span style="color:#021da7">></span><br>
          <span style="color:#021da7"><did></span><br>
            <span style="color:#021da7"><unittitle></span>William Faulkner Foundation<span style="color:#021da7"></unittitle></span><br>
            <span style="color:#021da7"><unitdate</span><span style="color:#f9975e"> type</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"inclusive"</span><span style="color:#021da7">></span>1961-1978, undated<span style="color:#021da7"></unitdate></span><br>
            <span style="color:#021da7"><container</span><span style="color:#f9975e"> id</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"aspace_a8d7a56421f7fe676aece03cb158231c"</span><span style="color:#f9975e"> label</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"Text"</span><span style="color:#f9975e">
 type</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"Box-folder"</span><br>
<span style="color:#f9975e">              </span><span style="color:#021da7">></span>6:10<span style="color:#021da7"></container></span><br>
          <span style="color:#021da7"></did></span><br>
        <span style="color:#021da7"></c02></span></div>
</div>
<div style="margin:0px; font-size:12px"><span style="color:#021da7"><br>
</span></div>
<div style="margin:0px; font-size:12px"><span style="color:#021da7"><br>
</span></div>
<div style="margin:0px; font-size:12px"><span style="color:#021da7"><br>
</span></div>
<div style="margin:0px">
<div style="font-size:12px; margin:0px">        <span style="color:#021da7"><c02</span><span style="color:#f9975e"> id</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"aspace_ce99c6434158423922d1cb7269d2d6eb"</span><span style="color:#f9975e">
 level</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"file"</span><span style="color:#021da7">></span><br>
          <span style="color:#021da7"><did></span><br>
            <span style="color:#021da7"><unittitle></span>William Faulkner Foundation<span style="color:#021da7"></unittitle></span><br>
            <span style="color:#021da7"><unitdate</span><span style="color:#f9975e"> type</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"inclusive"</span><span style="color:#021da7">></span>1961-1978, undated<span style="color:#021da7"></unitdate></span><br>
            <span style="color:#021da7"><container</span><span style="color:#f9975e"> id</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"aspace_7786fd082905fc4e886fccda4539c9b6"</span><span style="color:#f9975e"> label</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"Text"</span><span style="color:#f9975e">
 type</span><span style="color:#ff9450">=</span><span style="color:#ab4500">"Box-folder"</span><br>
<span style="color:#f9975e">              </span><span style="color:#021da7">></span>6:10<span style="color:#021da7"></container></span><br>
          <span style="color:#021da7"></did></span><br>
        <span style="color:#021da7"></c02></span></div>
<div style="font-size:12px; margin:0px"><span style="color:#021da7"><br>
</span></div>
<div style="font-size:12px; margin:0px"><br>
</div>
<div style="font-size:12px; margin:0px"><br>
</div>
<div style="font-size:12px; margin:0px"><span style="font-size:15px">Is there a reason for this ? </span></div>
<div style="font-size:12px; margin:0px"><span style="font-size:15px"><br>
</span></div>
<div style="margin:0px">I see that the c02/@id stays the same and is the value of the archival_object’s ref_id  ( with “aspace_” prefix added ). </div>
<div style="margin:0px">If the container ids are not stored in ArchivesSpace and are generated differently on the fly for export, </div>
<div style="margin:0px">it would be better to just not add an id attribute.  </div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">— Steve Majewski</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px"><br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>