<div dir="ltr">I am suspicious -- the ONLY instance where this occurs is when the initial tag is persname.  It seems to me this could be some sort of failed test to see if <p> is already there.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 15, 2015 at 3:10 AM, Chris Fitzpatrick <span dir="ltr"><<a href="mailto:Chris.Fitzpatrick@lyrasis.org" target="_blank">Chris.Fitzpatrick@lyrasis.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Chris,</p>
<p><br>
</p>
<p>Yes, the <p> is one of the more unfortunate aspects of EAD. </p>
<p>For this use case ( where you start the note with markup ), you have to add your own <p> tags to wrap the note. </p>
<p>b,chris. <br>
</p>
<p><br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div><font size="2">
<div>Chris Fitzpatrick | <font size="2">Developer, ArchivesSpace</font><br>
Skype: chrisfitzpat  | Phone: <a href="tel:918.236.6048" value="+19182366048" target="_blank">918.236.6048</a><br>
<a href="http://archivesspace.org/" target="_blank">http://archivesspace.org/</a><br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of Chris Powell
 <<a href="mailto:sooty@umich.edu" target="_blank">sooty@umich.edu</a>><br>
<b>Sent:</b> Monday, September 14, 2015 5:42 PM<br>
<b>To:</b> archivesspace_users_group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Invalid EAD export</font>
<div> </div>
</div>
<div>
<div dir="ltr">Please disregard the hyphen in the example EAD import! The hazards of cutting and pasting out of Internet Explorer. 
<div><br>
</div>
<div><span style="font-size:12.8px"><bioghist encodinganalog="545"><p><</span><span style="font-size:12.8px">persname>Francis Steiner</persname>was born January 16, 1895 in New Jersey, to German parents. He was the oldest of three children.</p><p>A communist
 and conscientious objector [etc.] </p><p>There is no information regarding Francis Steiner after his last letter of November 7, 1920. </p></bioghist></span><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Sep 14, 2015 at 11:15 AM, Chris Powell <span dir="ltr">
<<a href="mailto:sooty@umich.edu" target="_blank">sooty@umich.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello --
<div><br>
</div>
<div>It appears that if the first word or phrase in any of the "notes" elements that contain a text block and support mixed content, like abstract, bioghist or scopecontent is wrapped in a persname, the EAD export is invalid as all paragraphs lack p element
 wrappers.  </div>
<div><br>
</div>
<div>I've tested this with other elements to start the first paragraph and persname to start the second paragraph and those do not cause problems, only persname to start the first paragraph.</div>
<div><br>
</div>
<div>Example bioghist EAD prior to import:</div>
<div><br>
</div>
<div><bioghist encodinganalog="545">-<p><persname>Francis Steiner</persname>was born January 16, 1895 in New Jersey, to German parents. He was the oldest of three children.</p><p>A communist and conscientious objector [etc.] </p><p>There is no information regarding
 Francis Steiner after his last letter of November 7, 1920. </p></bioghist><br>
</div>
<div><br>
</div>
<div>Example bioghist EAD after export:</div>
<div><br>
</div>
<div><bioghist id="aspace_6e16003b2d18f8ad6c487cd5712fc162"><head>Biographical / Historical</head><persname>Francis Steiner</persname>was born January 16, 1895 in New Jersey, to German parents. He was the oldest of three children. A communist and conscientious
 objector [etc.] There is no information regarding Francis Steiner after his last letter of November 7, 1920. </bioghist><span><font color="#888888"><br>
</font></span></div>
<span><font color="#888888">
<div><br>
</div>
<div><br>
</div>
<div>Chris Powell</div>
<div>University of Michigan</div>
<div>Digital Library Production Service</div>
</font></span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>

<br>_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
<br></blockquote></div><br></div>