<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 25, 2020, at 12:50 PM, Kirill Batyuk <<a href="mailto:kbatyuk@whoi.edu" class="">kbatyuk@whoi.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); 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="">Hello,<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); 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=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); 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="">I was trying to generate Export -> Print to PDF for one of our resources and it fails with the following error:<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); 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=""><o:p class=""> </o:p></div><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: "Courier New"; caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""> Generating PDF for Kenneth O. Emery papers <o:p class=""></o:p></pre><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); 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="font-size: 10pt; font-family: "Courier New";" class="">org.xml.sax.SAXParseException; lineNumber: 70; columnNumber: 15; The element type "img" must be terminated by the matching end-tag "</img>".</span></div></div></blockquote></div><br class=""><div class="">That looks to me like you have a unmatched <img> tag in a mixed content note somewhere.</div><div class="">You need to find that and fix it. </div><div class=""><img> is not an EAD element, but HTML, so it’s not likely it was generated by ArchivesSpace export, but is just pulling it from some note text. But for the tag to work in EAD, it should probably be <extptr> or <extref> instead of <img>, so it might be better to change it than to just close the tag. </div><div class=""><br class=""></div><div class="">If you don’t know which note contains that tag, you can export to EAD and check for errors — you can run xmllint on it or load it into Oxygen or some other XML editor to locate the unmatched tag. One of the containing elements should map into an ArchivesSpace note type. </div><div class=""><br class=""></div><div class="">— Steve M.</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>