Thank you!

Going to follow your advice.

 

Kirill.

 

From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
<archivesspace_users_group-boun...@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@lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] PDF Generation Error

 

 





On Feb 25, 2020, at 12:50 PM, Kirill Batyuk <kbat...@whoi.edu 
<mailto:kbat...@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.

 

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to