<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Option A, because anything but a URI would create invalid EAD if
      exported or requested via OAI-PMH.<br>
    </p>
    <p>Andrew.</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 19/04/2021 17:41, Majewski, Steven
      Dennis (sdm7g) wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:B6B08A5B-050E-4D8A-AE20-82602FF5CB6F@virginia.edu">
      
      <div class=""><br class="">
      </div>
      I would think ‘A’, but that’s based on that the field is labeled
      “File URI” so I expect something that looks like a URI, and the
      fact that some notes in ArchivesSpace are explicitly labeled as
      allowing mixed content, and that has made me assume that allowing
      mixed content is not the default. But I guess that would not rule
      out ‘C’ as the original intention. 
      <div class=""><br class="">
      </div>
      <div class="">(Sometimes, if I assume something long enough, it
        turns into a rule in my head!) <br class="">
        <div class=""><br class="">
        </div>
        <div class="">I would also note that where mixed content is
          allowed, it doesn’t appear to be validated, and I’m seeing a
          lot of examples in the wild of invalid EAD exported with
          missing end tags, undeclared namespaces and other issues that
          prevent parsing EAD exported from ArchivesSpace. We probably
          should add a validation step where mixed content is allowed to
          attempt to parse the note as an XML fragment, and not accept
          the edit if it fails. ( I’ve been meaning to get around to
          testing this to see if there are any side effects or spurious
          rejections from doing this. ) <br class="">
          <div><br class="">
          </div>
          <div>— Steve. </div>
          <div><br class="">
            <blockquote type="cite" class="">
              <div class="">On Apr 19, 2021, at 11:50 AM, Brian Hoffman
                <<a href="mailto:brian.hoffman@lyrasis.org" class="" moz-do-not-send="true">brian.hoffman@lyrasis.org</a>>
                wrote:</div>
              <br class="Apple-interchange-newline">
              <div class="">
                <div class="WordSection1" style="page: WordSection1;
                  caret-color: rgb(0, 0, 0); font-family: Menlo-Regular;
                  font-size: 16px; font-style: normal;
                  font-variant-caps: normal; font-weight: normal;
                  letter-spacing: normal; text-align: start;
                  text-indent: 0px; text-transform: none; white-space:
                  normal; word-spacing: 0px; -webkit-text-stroke-width:
                  0px; text-decoration: none;">
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class="">Hi,<o:p class=""></o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class=""><o:p class=""> </o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class="">We have been trying
                    to understand what to do about cases like the
                    following:<o:p class=""></o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class=""><o:p class=""> </o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class=""><a href="http://sandbox.archivesspace.org/digital_objects/2/edit#tree::digital_object_2" style="color: rgb(5, 99, 193); text-decoration:
                      underline;" class="" moz-do-not-send="true">http://sandbox.archivesspace.org/digital_objects/2/edit#tree::digital_object_2</a><o:p class=""></o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class=""><o:p class=""> </o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class=""><span id="cid:image001.png@01D73512.22D7F220"><image001.png></span><o:p class=""></o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class=""><o:p class=""> </o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class="">As things are now,
                    ArchivesSpace will allow a value like this, but
                    various renderings and transformations will not work
                    as expected. I am wondering if:<o:p class=""></o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class=""><o:p class=""> </o:p></div>
                  <ol style="margin-bottom: 0in; margin-top: 0in;" class="" type="A" start="1">
                    <li class="MsoListParagraph" style="margin: 0in;
                      font-size: 11pt; font-family: Calibri,
                      sans-serif;">This is a legacy bug; the field
                      should have originally validated values to ensure
                      they were URIs<o:p class=""></o:p></li>
                    <li class="MsoListParagraph" style="margin: 0in;
                      font-size: 11pt; font-family: Calibri,
                      sans-serif;">This is a presentation layer bug: non
                      URIs should be allowed in the file_uri field, but
                      HTML and PDF presentations need to accommodate
                      that.<o:p class=""></o:p></li>
                    <li class="MsoListParagraph" style="margin: 0in;
                      font-size: 11pt; font-family: Calibri,
                      sans-serif;">Everything is fine. Users should be
                      able to put whatever they want in file_uri, but if
                      they want it to present right they need to write a
                      plugin.<o:p class=""></o:p></li>
                  </ol>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class=""><o:p class=""> </o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class="">This isn’t an
                    academic question, as this is currently happening
                    with records created automatically by Preservica
                    software.<o:p class=""></o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class=""><o:p class=""> </o:p></div>
                  <div style="margin: 0in; font-size: 11pt; font-family:
                    Calibri, sans-serif;" class="">Brian<o:p class=""></o:p></div>
                </div>
                <span style="caret-color: rgb(0, 0, 0); font-family:
                  Menlo-Regular; font-size: 16px; font-style: normal;
                  font-variant-caps: normal; font-weight: normal;
                  letter-spacing: normal; text-align: start;
                  text-indent: 0px; text-transform: none; white-space:
                  normal; word-spacing: 0px; -webkit-text-stroke-width:
                  0px; text-decoration: none; float: none; display:
                  inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family:
                  Menlo-Regular; font-size: 16px; font-style: normal;
                  font-variant-caps: normal; font-weight: normal;
                  letter-spacing: normal; text-align: start;
                  text-indent: 0px; text-transform: none; white-space:
                  normal; word-spacing: 0px; -webkit-text-stroke-width:
                  0px; text-decoration: none;" class="">
                <span style="caret-color: rgb(0, 0, 0); font-family:
                  Menlo-Regular; font-size: 16px; font-style: normal;
                  font-variant-caps: normal; font-weight: normal;
                  letter-spacing: normal; text-align: start;
                  text-indent: 0px; text-transform: none; white-space:
                  normal; word-spacing: 0px; -webkit-text-stroke-width:
                  0px; text-decoration: none; float: none; display:
                  inline !important;" class="">Archivesspace_Users_Group
                  mailing list</span><br style="caret-color: rgb(0, 0,
                  0); font-family: Menlo-Regular; font-size: 16px;
                  font-style: normal; font-variant-caps: normal;
                  font-weight: normal; letter-spacing: normal;
                  text-align: start; text-indent: 0px; text-transform:
                  none; white-space: normal; word-spacing: 0px;
                  -webkit-text-stroke-width: 0px; text-decoration:
                  none;" class="">
                <a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" style="color: rgb(5, 99, 193); text-decoration:
                  underline; font-family: Menlo-Regular; font-size:
                  16px; font-style: normal; font-variant-caps: normal;
                  font-weight: normal; letter-spacing: normal; orphans:
                  auto; text-align: start; text-indent: 0px;
                  text-transform: none; white-space: normal; widows:
                  auto; word-spacing: 0px; -webkit-text-size-adjust:
                  auto; -webkit-text-stroke-width: 0px;" class="" moz-do-not-send="true">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br style="caret-color: rgb(0, 0, 0); font-family:
                  Menlo-Regular; font-size: 16px; font-style: normal;
                  font-variant-caps: normal; font-weight: normal;
                  letter-spacing: normal; text-align: start;
                  text-indent: 0px; text-transform: none; white-space:
                  normal; word-spacing: 0px; -webkit-text-stroke-width:
                  0px; text-decoration: none;" class="">
                <a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" style="color: rgb(5, 99, 193); text-decoration:
                  underline; font-family: Menlo-Regular; font-size:
                  16px; font-style: normal; font-variant-caps: normal;
                  font-weight: normal; letter-spacing: normal; orphans:
                  auto; text-align: start; text-indent: 0px;
                  text-transform: none; white-space: normal; widows:
                  auto; word-spacing: 0px; -webkit-text-size-adjust:
                  auto; -webkit-text-stroke-width: 0px;" class="" moz-do-not-send="true">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div>
            </blockquote>
          </div>
          <br class="">
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Archivesspace_Users_Group mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a>
<a class="moz-txt-link-freetext" href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a>
</pre>
    </blockquote>
  </body>
</html>