<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Jan 26, 2015, at 4:29 AM, Chris Fitzpatrick <<a href="mailto:Chris.Fitzpatrick@lyrasis.org">Chris.Fitzpatrick@lyrasis.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr" style="font-family: Helvetica; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div id="divtagdefaultwrapper" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; position: static; z-index: auto;"><div style="margin-top: 0px; margin-bottom: 0px;">Hi Steven,</div><div style="margin-top: 0px; margin-bottom: 0px;"><br></div><div style="margin-top: 0px; margin-bottom: 0px;">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.</div><div style="margin-top: 0px; margin-bottom: 0px;"><br></div></div></div></blockquote><div><br></div><div>I didn’t think containers had children, either in EAD schema or JSON model — however I’m still learning</div><div>how to mentally parse JSON models, so I could be wrong there. </div><div><br></div><br><blockquote type="cite"><div dir="ltr" style="font-family: Helvetica; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div id="divtagdefaultwrapper" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; position: static; z-index: auto;"><div style="margin-top: 0px; margin-bottom: 0px;">Is it a large blocker for you?</div></div></div></blockquote><div><br></div><div>Not currently a big problem: I was just trying to use diff to debug some other export issues,</div><div>and was surprised to see so many differences between exports.  </div><div><br></div><div>We can just strip container/@id out with an XSLT stylesheet. </div><div><br></div><div>I don’t expect it to be a problem in production, as we don’t typically use container/@id in our EAD. </div><div><br></div><div>We were more concerned that it might represent a symptom of some inconsistency in the model. </div><div>( We’re still in the process of upgrading and verifying that the “jumping component” problem is gone. ) </div><div><br></div><div><br></div><div>— Steve. </div><div><br></div><br><blockquote type="cite"><div dir="ltr" style="font-family: Helvetica; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div id="divtagdefaultwrapper" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; position: static; z-index: auto;"><div style="margin-top: 0px; margin-bottom: 0px;">b,chris.<span class="Apple-converted-space"> </span><br></div><div style="margin-top: 0px; margin-bottom: 0px;"><br></div><div id="Signature"><div name="divtagdefaultwrapper" style="font-family: Calibri, Arial, Helvetica, sans-serif; margin: 0px;"><div class="BodyFragment"><font size="2">Chris Fitzpatrick | Developer, ArchivesSpace<br>Skype: chrisfitzpat  | Phone: 918.236.6048<br><a href="http://archivesspace.org/">http://archivesspace.org/</a><br></font></div></div></div><div style="word-wrap: break-word;"><hr tabindex="-1" style="display: inline-block; width: 808px;"><div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt;"><b>From:</b><span class="Apple-converted-space"> </span><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 Steven Majewski <<a href="mailto:sdm7g@virginia.edu">sdm7g@virginia.edu</a>><br><b>Sent:</b><span class="Apple-converted-space"> </span>Friday, January 23, 2015 9:04 PM<br><b>To:</b><span class="Apple-converted-space"> </span>Archivesspace Users Group<br><b>Subject:</b><span class="Apple-converted-space"> </span>[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: rgb(2, 29, 167);"><c02</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>id</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"aspace_ce99c6434158423922d1cb7269d2d6eb"</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>level</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"file"</span><span style="color: rgb(2, 29, 167);">></span><br>         <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"><did></span><br>           <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"><unittitle></span>William Faulkner Foundation<span style="color: rgb(2, 29, 167);"></unittitle></span><br>           <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"><unitdate</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>type</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"inclusive"</span><span style="color: rgb(2, 29, 167);">></span>1961-1978, undated<span style="color: rgb(2, 29, 167);"></unitdate></span><br>           <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"><container</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>id</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"aspace_a8d7a56421f7fe676aece03cb158231c"</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>label</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"Text"</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>type</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"Box-folder"</span><br><span style="color: rgb(249, 151, 94);">             <span class="Apple-converted-space"> </span></span><span style="color: rgb(2, 29, 167);">></span>6:10<span style="color: rgb(2, 29, 167);"></container></span><br>         <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"></did></span><br>       <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"></c02></span></div></div><div style="margin: 0px; font-size: 12px;"><span style="color: rgb(2, 29, 167);"><br></span></div><div style="margin: 0px; font-size: 12px;"><span style="color: rgb(2, 29, 167);"><br></span></div><div style="margin: 0px; font-size: 12px;"><span style="color: rgb(2, 29, 167);"><br></span></div><div style="margin: 0px;"><div style="font-size: 12px; margin: 0px;">        <span style="color: rgb(2, 29, 167);"><c02</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>id</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"aspace_ce99c6434158423922d1cb7269d2d6eb"</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>level</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"file"</span><span style="color: rgb(2, 29, 167);">></span><br>         <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"><did></span><br>           <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"><unittitle></span>William Faulkner Foundation<span style="color: rgb(2, 29, 167);"></unittitle></span><br>           <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"><unitdate</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>type</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"inclusive"</span><span style="color: rgb(2, 29, 167);">></span>1961-1978, undated<span style="color: rgb(2, 29, 167);"></unitdate></span><br>           <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"><container</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>id</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"aspace_7786fd082905fc4e886fccda4539c9b6"</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>label</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"Text"</span><span style="color: rgb(249, 151, 94);"><span class="Apple-converted-space"> </span>type</span><span style="color: rgb(255, 148, 80);">=</span><span style="color: rgb(171, 69, 0);">"Box-folder"</span><br><span style="color: rgb(249, 151, 94);">             <span class="Apple-converted-space"> </span></span><span style="color: rgb(2, 29, 167);">></span>6:10<span style="color: rgb(2, 29, 167);"></container></span><br>         <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"></did></span><br>       <span class="Apple-converted-space"> </span><span style="color: rgb(2, 29, 167);"></c02></span></div><div style="font-size: 12px; margin: 0px;"><span style="color: rgb(2, 29, 167);"><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>_______________________________________________<br>Archivesspace_Users_Group mailing list<br><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</div></blockquote></div><br></body></html>