<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0in;
font-size:9.0pt;
font-family:Helvetica;}
span.s1
{mso-style-name:s1;
color:#000096;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I ran your EAD through the as-ead-pdf.xsl stylesheet from ASpace in Oxygen. The debugger takes you right to the problem. Oxygen is an amazing tool for this sort of thing.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Brian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Busch, Ed <buschedw@msu.edu><br>
<b>Date: </b>Monday, August 14, 2023 at 2:52 PM<br>
<b>To: </b>Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject: </b>Re: [Archivesspace_Users_Group] Staff PDF Gen Error<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt">Great catch! How did you find that? I guess if I had done my Count on that I would of seen the odd number as a clue.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt">From:</span></b><span style="font-size:11.0pt"> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org>
<b>On Behalf Of </b>Brian Harrington<br>
<b>Sent:</b> Monday, August 14, 2023 2:50 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Staff PDF Gen Error</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Ed,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">It looks like your problem is here:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="p1"><span class="s1"><unittitle></span>Extension Work in ICA Cooperative Countries<span class="s1"></emph></span>. Mimeo. ICA<span class="s1"></unittitle></span><o:p></o:p></p>
<p class="p1"><span class="s1"> </span><o:p></o:p></p>
<p class="p1"><span class="s1"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">Since the beginning <emph> is missing, the XML parser thinks you’re trying to close a <unittitle> with an </emph>.</span></span><o:p></o:p></p>
<p class="p1"><span class="s1"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"> </span></span><o:p></o:p></p>
<p class="p1"><span class="s1"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">I hope this helps.</span></span><o:p></o:p></p>
<p class="p1"><span class="s1"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"> </span></span><o:p></o:p></p>
<p class="p1"><span class="s1"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">Brian</span></span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">-- </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Brian Harrington (he/him)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Data Migration Specialist</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LYRASIS</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="mailto:brian.harrington@lyrasis.org">brian.harrington@lyrasis.org</a></span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black"><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
on behalf of Busch, Ed <<a href="mailto:buschedw@msu.edu">buschedw@msu.edu</a>><br>
<b>Date: </b>Monday, August 14, 2023 at 2:38 PM<br>
<b>To: </b><a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject: </b>[Archivesspace_Users_Group] Staff PDF Gen Error</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">Hi-</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">We have a weird one. We have a collection that was migrated years ago from AT but never printed from staff side. When we run the Staff side Export >Generate PDF we get </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Generating PDF for Helen Strow collection
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">org.xml.sax.SAXParseException; lineNumber: 64; columnNumber: 10726; The element type "unittitle" must be terminated by the matching end-tag "</unittitle>".</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">net.sf.saxon.s9api.DocumentBuilder.build(net/sf/saxon/s9api/DocumentBuilder.java:360)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:456)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:317)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">RUBY.build(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/document_builder.rb:225)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">RUBY.to_fo(/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-2950795293246301533/webapp/WEB-INF/app/lib/AS_fop.rb:42)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">RUBY.to_pdf(/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-2950795293246301533/webapp/WEB-INF/app/lib/AS_fop.rb:58)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">RUBY.run(/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-2950795293246301533/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:43)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">archivesspace.data.tmp.jetty_minus_0_0_0_0_minus_8089_minus_backend_war_minus___minus_any_minus_2950795293246301533.webapp.WEB_minus_INF.app.lib.request_context.open(/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-2950795293246301533/webapp/WEB-INF/app/lib/request_context.rb:24)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">RUBY.run(/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-2950795293246301533/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:11)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">archivesspace.data.tmp.jetty_minus_0_0_0_0_minus_8089_minus_backend_war_minus___minus_any_minus_2950795293246301533.webapp.WEB_minus_INF.app.lib.background_job_queue.invokeOther31:run(archivesspace/data/tmp/jetty_minus_0_0_0_0_minus_8089_minus_backend_war_minus___minus_any_minus_2950795293246301533/webapp/WEB_minus_INF/app/lib//archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-2950795293246301533/webapp/WEB-INF/app/lib/background_job_queue.rb:126)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">archivesspace.data.tmp.jetty_minus_0_0_0_0_minus_8089_minus_backend_war_minus___minus_any_minus_2950795293246301533.webapp.WEB_minus_INF.app.lib.background_job_queue.run_pending_job(/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-2950795293246301533/webapp/WEB-INF/app/lib/background_job_queue.rb:126)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">RUBY.start_background_thread(/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-2950795293246301533/webapp/WEB-INF/app/lib/background_job_queue.rb:169)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">org.jruby.RubyProc.call(org/jruby/RubyProc.java:318)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">java.lang.Thread.run(java/lang/Thread.java:750)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">When I Export EAD and look for line 64, for some reason it has put all of the archivalobjects on one xml “line”. We tried moving things around and nothing changes other than
the order they are on that one line. Still get an error.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">I did a count of
</span><span style="font-family:"Courier New"">unittitle and it’s an even number so it doesn’t seem like one is missing. There are a bunch of emph tags but they look ok to me.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Omololu, A. <emph render="italic">Coordination of Relevant Governments Services for Nutrition Education</emph>. Ibadan University</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Printing from Public side works fine.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Anyone have a suggestion?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> </span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">Ed Busch, MLIS</span></b><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Electronic Records Archivist</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Michigan State University Archives and Historical Collections</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Conrad Hall</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">943 Conrad Road, Room 101</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">East Lansing, MI 48824</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">517-884-6438</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="mailto:buschedw@msu.edu">buschedw@msu.edu</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">he/him/his</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> </span><o:p></o:p></p>
</div>
</body>
</html>