[Archivesspace_Users_Group] PDF Generation Error

Kirill Batyuk kbatyuk at whoi.edu
Tue Feb 25 13:08:57 EST 2020


Thank you!

Going to follow your advice.

 

Kirill.

 

From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Majewski, Steven Dennis (sdm7g)
Sent: Tuesday, February 25, 2020 1:04 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] PDF Generation Error

 

 





On Feb 25, 2020, at 12:50 PM, Kirill Batyuk <kbatyuk at whoi.edu <mailto: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/85d88e31/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5533 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200225/85d88e31/attachment.bin>


More information about the Archivesspace_Users_Group mailing list