[Archivesspace_Users_Group] malformed EAD export

Steven Majewski sdm7g at virginia.edu
Thu Feb 26 18:09:27 EST 2015


I imported a valid EAD file into ArchivesSpace. 
Exporting to EAD again produced malformed xml. 


The problem was with this fragment in the bioghist :

<p>
        <blockquote>
          <p>"As a child, before I could read, I determined as I
               looked at my father's great books and saw how they
               interested him, to become an author and by the time I
               could spell words of one syllable I began to write, but
               in prose. One night when I was still a boy I went into
               my own room, and for the five-hundreth time, began to
               read out of Routledge's little volume of 
                Edgar Poe's poems. Suddenly,
               something stirred me till I shuddered with intense
               excitement. "I felt as if a star had burst within my
               brain." I fell on my knees and prayed as I only could
               pray then, and thanked my Creator for having made me a
               poet!"</p>
        </blockquote>
      </p>


The result looks fine in the admin display in both the Raw and Formatted views.
But if I click on EDIT and look at the text, the implicit paragraph breaks are more visible. 
[ Text below with line numbers added to the front because I expect it’ll get wrapped by email. ] 


(1)II
(2)
(3) John Henry Ingram was born on November 16, 1842, at 29 City Road, Finnsbury, Middlesex, and spent his childhood in Stoke Newington, the London suburb where young Poe had himself lived. The Stoke Newington Manor House School, which Poe describes in "William Wilson," was standing in Ingram's youth, and he was quite conscious of it as a tangible link between his own life and Poe's. On March 6, l874, Ingram wrote an autobiographical account to Sarah Helen Whitman, clearly acknowledging Poe's influence on his early life:
(4)
(5)  <blockquote> "As a child, before I could read, I determined as I looked at my father's great books and saw how they interested him, to become an author and by the time I could spell words of one syllable I began to write, but in prose. One night when I was still a boy I went into my own room, and for the five-hundreth time, began to read out of Routledge's little volume of Edgar Poe's poems. Suddenly, something stirred me till I shuddered with intense excitement. "I felt as if a star had burst within my brain." I fell on my knees and prayed as I only could pray then, and thanked my Creator for having made me a poet!"
(6)
(7)</blockquote> 
(8)


Those implicit paragraphs get inserted into the exported EAD.xml without regard of the existing <blockquote> element, 
serializing it as  malformed   :  <p><blockqoute></p><p></blockquote></p>

<p> II</p><p>  John Henry Ingram was born on November 16, 1842, at 29 City Road, Finnsbury, Middlesex, and spent his childhood in Stoke Newington, the London suburb where young Poe had himself lived. The Stoke Newington Manor House School, which Poe describes in "William Wilson," was standing in Ingram's youth, and he was quite conscious of it as a tangible link between his own life and Poe's. On March 6, l874, Ingram wrote an autobiographical account to Sarah Helen Whitman, clearly acknowledging Poe's influence on his early life:</p><p>  <blockquote> "As a child, before I could read, I determined as I looked at my father's great books and saw how they interested him, to become an author and by the time I could spell words of one syllable I began to write, but in prose. One night when I was still a boy I went into my own room, and for the five-hundreth time, began to read out of Routledge's little volume of Edgar Poe's poems. Suddenly, something stirred me till I shuddered with intense excitement. "I felt as if a star had burst within my brain." I fell on my knees and prayed as I only could pray then, and thanked my Creator for having made me a poet!"</p><p> </blockquote> </p><p>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150226/e9a0395d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4943 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150226/e9a0395d/attachment.bin>


More information about the Archivesspace_Users_Group mailing list