[Archivesspace_Users_Group] Single-Part notes not showing up in Print Resource to PDF

Salwa Ismail Salwa.Ismail at georgetown.edu
Thu May 12 13:50:55 EDT 2016


Aha! Thanks Mark. That makes sense.
We'll try it and report back.

Thank you again, Mark and Brad.
-Salwa

*---*
*Salwa Ismail*
Head, Library Information Technology (LIT)
Georgetown University Library
Washington D.C.
(202) 687 7385

On Wed, May 11, 2016 at 6:49 PM, Brad Westbrook <brad.westbrook at lyrasis.org>
wrote:

> Added label = ‘xsl’, Mark, since that is the label we agreed on a couple
> of days ago.  -b
>
>
>
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:
> archivesspace_users_group-bounces at lyralists.lyrasis.org] *On Behalf Of *Custer,
> Mark
> *Sent:* Wednesday, May 11, 2016 4:41 PM
>
> *To:* Archivesspace Users Group
> *Subject:* Re: [Archivesspace_Users_Group] Single-Part notes not showing
> up in Print Resource to PDF
>
>
>
> Brad,
>
>
>
> Can you tag this bug with the “XSLT” label?  I can issue a pull request at
> some point once I look into making updates to that styles sheet (or if
> anyone else wants to beat me to that, feel free; I’ve already tested the
> fix).
>
>
>
> In the meantime, the bug is on line 1551:
> https://github.com/archivesspace/archivesspace/blob/master/stylesheets/as-ead-pdf.xsl#L1551
>
>
>
> That if statement is testing for any child elements (which would force a
> single-part note to have mixed encoding just to display, which definitely
> isn’t the desire).  My assumption is that this was added in order to skip
> empty elements, or elements that only have white space.  To apply that fix,
> all you need to do is change “*child::**” to “*normalize-space()*” – but
> just do that on *line 1551*, since there are other places using that same
> test.
>
>
>
> I’ll add the same info to JIRA.
>
>
>
> Mark
>
>
>
>
>
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org [
> mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org
> <archivesspace_users_group-bounces at lyralists.lyrasis.org>] *On Behalf Of *Brad
> Westbrook
> *Sent:* Wednesday, 11 May, 2016 3:31 PM
> *To:* Archivesspace Users Group
> *Subject:* Re: [Archivesspace_Users_Group] Single-Part notes not showing
> up in Print Resource to PDF
>
>
>
> Mark,
>
>
>
> This a bug with the EAD>PDF transformation that appears to only affect
> note at the component level, and perhaps notes only that are single part.
> I have not tested all the multi-part note types but a couple seem to
> present no problems.  But all single part notes do.
>
>
>
> I added a component to your PDF-Test resource in test (
> http://test.archivesspace.org/resources/95/
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__test.archivesspace.org_resources_95_&d=AwMGaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=s7ciGQfUJeaV_ryx908hbeXDoU9aqDwDN0Z0VbfsJ3Y&m=MpexLl4Cnpoiw8bgzXe9yafAWFabAqaY1CWmQPjQKUY&s=maC8aNVY-nwps5RQKUcHbXlgi3G7jwfe_UhF9yXVfEU&e=>)
> to illustrate.  This is a problem in 1.4.2 as well.
>
>
>
> A bug report is posted at
> https://archivesspace.atlassian.net/browse/AR-1474
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.atlassian.net_browse_AR-2D1474&d=AwMGaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=s7ciGQfUJeaV_ryx908hbeXDoU9aqDwDN0Z0VbfsJ3Y&m=MpexLl4Cnpoiw8bgzXe9yafAWFabAqaY1CWmQPjQKUY&s=ZHs-RzloUUSJUX6eSaPMGhUWGKtcJHNMGtFSSH4bkRk&e=>.
>
>
>
>
>
>
>
>
> Brad
>
>
>
>
>
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org [
> mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org
> <archivesspace_users_group-bounces at lyralists.lyrasis.org>] *On Behalf Of *Custer,
> Mark
> *Sent:* Wednesday, May 11, 2016 2:00 PM
> *To:* Archivesspace Users Group
> *Subject:* Re: [Archivesspace_Users_Group] Single-Part notes not showing
> up in Print Resource to PDF
>
>
>
> Thanks, Salwa.
>
>
>
> I just tried to duplicate this issue in the newest version of ASpace, but
> I wasn’t able to do so (at least not when the published notes are attached
> at the resource level).  Here’s the resource:
> http://test.archivesspace.org/resources/95/
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__test.archivesspace.org_resources_95_&d=AwMGaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=s7ciGQfUJeaV_ryx908hbeXDoU9aqDwDN0Z0VbfsJ3Y&m=MpexLl4Cnpoiw8bgzXe9yafAWFabAqaY1CWmQPjQKUY&s=maC8aNVY-nwps5RQKUcHbXlgi3G7jwfe_UhF9yXVfEU&e=>
> (in the GoneRepo repository).
>
>
>
> Perhaps the issue has been fixed, or perhaps there are other variables at
> play?  Either way, I’d be interested in taking a look at the ticket once
> it’s in JIRA.
>
>
>
> Mark
>
>
>
>
>
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org [
> mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org
> <archivesspace_users_group-bounces at lyralists.lyrasis.org>] *On Behalf Of *Salwa
> Ismail
> *Sent:* Wednesday, 11 May, 2016 12:02 PM
> *To:* Archivesspace Users Group
> *Subject:* Re: [Archivesspace_Users_Group] Single-Part notes not showing
> up in Print Resource to PDF
>
>
>
> Thanks for the suggestions, Mark.
>
>
>
> I've also been corresponding with Brad and turns out it's a bug with AS
> that they'll add to their queue.
>
> I am unable to share the FA as it has private date/information in it. :-(
>
>
>
> Thanks,
>
> -Salwa
>
>
> *---*
>
> *Salwa Ismail*
> Head, Library Information Technology (LIT)
> Georgetown University Library
> Washington D.C.
> (202) 687 7385
>
>
>
> On Wed, May 11, 2016 at 10:23 AM, Custer, Mark <mark.custer at yale.edu>
> wrote:
>
> I’d think the problem, most likely, is one of two things:
>
>
>
> ·         Something in the EAD (like the notes having an
> @audience=’internal’ attribute)
>
> ·         Something in the EAD to PDF transformation
>
>
>
> Can you send a copy of the EAD file?  If so, also provide an example of
> one of the notes that isn’t displaying but should, just in case that’s not
> in the EAD output at all for some reason.
>
>
>
>
>
>
>
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:
> archivesspace_users_group-bounces at lyralists.lyrasis.org] *On Behalf Of *Salwa
> Ismail
> *Sent:* Wednesday, 11 May, 2016 8:33 AM
> *To:* Archivesspace Users Group
> *Subject:* [Archivesspace_Users_Group] Single-Part notes not showing up
> in Print Resource to PDF
>
>
>
> Hello ArchivesSpace Users,
>
>
>
> We've noticed that our single-part notes do not show up when we output the
> finding aid as a PDF using "Print Resource to PDF" function.
>
> Our multi-part notes show up fine.
>
>
>
> The finding aid is set to False on Publish (so not published on the web),
> but the individual component notes (multi- or single) are set "checked" on
> publish.
>
>
>
> Are we missing something here? I've perused though the documentation but
> was unable to find anything in the Notes section or Print Resource to PDF
> section that helped or indicated something that could be of use in my case.
>
>
>
> Any and all help and advise is appreciated.
>
>
>
> Bes,
>
> -Salwa
>
>
> *---*
>
> *Salwa Ismail*
> Library Information Technology (LIT)
> Georgetown University Library
> Washington D.C.
> (202) 687 7385
>
>
>
>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=AwMFaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=s7ciGQfUJeaV_ryx908hbeXDoU9aqDwDN0Z0VbfsJ3Y&m=AInhdRB8PVwKUkXHcwnXxMZftnaBX-gdrvqxBsEWPpc&s=nucFoXIcziZsigraOJf1ncFscSsnGUokkoYPQooaNhg&e=>
>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160512/07d6f8bd/attachment.html>


More information about the Archivesspace_Users_Group mailing list