[Archivesspace_Users_Group] Changes to PDF export in 2.8?

Custer, Mark mark.custer at yale.edu
Mon Aug 17 13:48:59 EDT 2020


Chris,

No clue if it's related or not, but it looks like a gem that's utilized for XSLT transformations in ASpace was switched out recently (saxon-xslt -> saxon-rb).  I wonder if the new gem (and/or new version of saxon) is more strict, and only now throwing an error because of that?

In any event, have you tried running the transformations outside of ASpace?  Either way, if you can share a sample EAD file that throws the error and a copy of the in-house ead-to-pdf stylesheet, I'd be curious to take a look. Not that I'm sure I can help, of course :)

Mark


________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Chris Mayo <mayoc at bc.edu>
Sent: Monday, August 17, 2020 1:31 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Changes to PDF export in 2.8?

Hi all,

We keep a modified in-house version of the ead-to-pdf stylesheet so that we can put out Finding Aids with our own branding and a few other changes. When we recently installed 2.8 on our test server, we discovered that the export to PDF job was failing with the following error info:

"The context item for axis step ./ead is absent. Found while atomizing the first argument of fn:subst"

Our production server is currently running on 2.6, and we had previously updated the test server to 2.7 without that upgrade breaking our stylesheet, so the issue appears to have been introduced between 2.7 and 2.8. As far as I can tell, the base code for the stylesheet didn't change between those versions, and while the error message looks like an Xpath problem, the EAD structure doesn't appear to have changed either.

Has anyone else encountered problems with modified finding aid stylesheets in 2.8, or have any thoughts on what could be causing this error?

Chris

Chris Mayo
Digital Production Librarian
Boston College
chris.mayo at bc.edu<mailto:chris.mayo at bc.edu>
pronouns: they/them/theirs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200817/d5202917/attachment.html>


More information about the Archivesspace_Users_Group mailing list