[Archivesspace_Users_Group] PDF Generation Error

Majewski, Steven Dennis (sdm7g) sdm7g at virginia.edu
Tue Feb 25 13:04:00 EST 2020



> On Feb 25, 2020, at 12:50 PM, Kirill Batyuk <kbatyuk at whoi.edu> wrote:
> 
> Hello,
>  
> I was trying to generate Export -> Print to PDF for one of our resources and it fails with the following error:
>  
>  Generating PDF for Kenneth O. Emery papers  
> org.xml.sax.SAXParseException; lineNumber: 70; columnNumber: 15; The element type "img" must be terminated by the matching end-tag "</img>".

That looks to me like you have a unmatched <img> tag in a mixed content note somewhere.
You need to find that and fix it. 
<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. 

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. 

— Steve M.


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


More information about the Archivesspace_Users_Group mailing list