<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Thomas,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">If you could send me a copy of the EAD file, I can take a look this afternoon (I'm working on a new process to create PDF files in ASpace using the new EAD3 export option, but I have the current ASpace PDF files handy
for testing). </p>
<p style="margin-top:0;margin-bottom:0"><span style="font-size: 12pt;"><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span style="font-size: 12pt;">The issue is definitely that the current EAD to PDF process is creating an invalid XSL-FO file, which Apache FOP cannot then render properly as a PDF file, as Trevor mentioned. Without
seeing the EAD file, though, it's impossible to tell if there's an issue in the EAD or the XSL file that's being used to create the temporary XSL-FO file. </span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Mark</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Adams, Thomas
<tadams@cshl.edu><br>
<b>Sent:</b> Monday, June 25, 2018 6:14:09 PM<br>
<b>To:</b> Archivesspace Users Group (Archivesspace_Users_Group@lyralists.lyrasis.org)<br>
<b>Subject:</b> [Archivesspace_Users_Group] ArchivesSpace failing to export resource to PDF</font>
<div> </div>
</div>
<meta content="text/html; charset=Windows-1252">
<meta name="x_Generator" content="Microsoft Word 14 (filtered medium)">
<style>
<!--
@font-face
{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:x_link, span.x_MsoHyperlink
{color:blue;
text-decoration:underline}
a:x_visited, span.x_MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.x_EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
.x_MsoChpDefault
{}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-US" link="blue" vlink="purple">
<div class="x_WordSection1">
<p class="x_MsoNormal">From the staff interface in ArchivesSpace 2.3.2, I am attempting to “Export | Print resource to PDF”. The batch submission get things started fine, but the job ends up with a failure status when it completes.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I see the following error message:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"># more /home/archivesspace/archivesspace-v2.3.2/archivesspace/data/shared/job_files/print_to_pdf_job_236/output.log</p>
<p class="x_MsoNormal">Generating PDF for Oral History</p>
<p class="x_MsoNormal">org.apache.fop.fo.ValidationException: "fo:list-block" is missing child elements. Required content model: marker* (list-item)+ (See position 1794:68)</p>
<p class="x_MsoNormal">org.apache.xalan.transformer.TransformerIdentityImpl.transform(org/apache/xalan/transformer/TransformerIdentityImpl.java:502)</p>
<p class="x_MsoNormal">java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)</p>
<p class="x_MsoNormal">….</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Trevor Thornton gave the following suggestion to the ASpace mailing list (back in 2017-03-21) to a similar error message:</p>
<p class="x_MsoNormal"> Looks like there is a list in a note somewhere that has no list items -</p>
<p class="x_MsoNormal"> that what this seems to be saying:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> org.apache.fop.fo.ValidationException: "fo:list-block" is missing child</p>
<p class="x_MsoNormal"> elements. Required content model: marker* (list-item)+ (See position 508:68)</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> I would try to export the resource as an EAD, and if that works you might</p>
<p class="x_MsoNormal"> more easily search through the XML to find the problem.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I was able to “Export | Download EAD”, that resource as suggested, but there were only three <list type=”ordered”> tags in the EAD and all of them had <head> and <item> as children.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I also looked on the ArchivesSpace server and was not able to find a temporary file created at that time, that might have position 1794:68 (line#:char).</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Any suggestions on what to try next?</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Thanks</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">-Tom</p>
</div>
</div>
</body>
</html>