<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 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 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>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<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 Chris Powell
 <sooty@umich.edu><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 class="HOEnZb"><font color="#888888"><br>
</font></span></div>
<span class="HOEnZb"><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>
</body>
</html>