<html xmlns:v="urn:schemas-microsoft-com:vml" 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)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@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;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.emailquote, li.emailquote, div.emailquote
{mso-style-name:emailquote;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:1.0pt;
margin-bottom:.0001pt;
border:none;
padding:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; margin-top: 0px; margin-bottom: 0px;">
EAD does not validate, but that does not appear to be the problem. </div>
<div style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; margin-top: 0px; margin-bottom: 0px;">
Replaced all of the attributes with spaces ( "library of congress name authority file" ==> "lcnaf" ) and I still get FOP errors. </div>
<div style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; margin-top: 0px; margin-bottom: 0px;">
It appears that the EAD <indexentry> elements are producing invalid FOP xml with empty attributes that are causing fop application to fail: <fo:basic-link internal-destination="" > </div>
<div style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; margin-top: 0px; margin-bottom: 0px;">
That seems to be the source of the problem. Will take further digging to figure out the solution. </div>
<div style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; margin-top: 0px; margin-bottom: 0px;">
FYI: If you want to try this yourself and have Oxygen, you can load stylesheets/as-ead-pdf.xsl along with your EAD xml and transform to see the XML fop file that goes to the fop application to produce pdf. Oxygen should have it's own copy of 'fop' to process
that file, but I was using my copy from home-brew on Mac. </div>
<p></p>
<div id="Signature" style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont;">
<div></div>
</div>
<p></p>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<p><br>
</p>
<div id="Signature">
<div class="BodyFragment"><font size="2">
<div class="PlainText"><br>
-- Steve Majewski / UVA Alderman Library </div>
</font></div>
</div>
</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 Kari R Smith
<smithkr@mit.edu><br>
<b>Sent:</b> Thursday, August 24, 2017 12:08:04 PM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] help requested with an error message - missing attribute</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks Steve and Seth –
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I did validate the EAD in Oxygen, so that’s not the problem. It’s a huge file, so I’m going to send you two a link (off list) to it and really appreciate anything
you can do to uncover where the error is. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Kari R. Smith<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Digital Archivist and Program Head for Born-digital Archives<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Institute Archives and Special Collections<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Massachusetts Institute of Technology Libraries, Cambridge, Massachusetts<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">617.253.5690 smithkr at mit.edu
<a href="http://libraries.mit.edu/archives/"><span style="color:#0563C1">http://libraries.mit.edu/archives/</span></a> @karirene69<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></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;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> archivesspace_users_group-bounces@lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org]
<b>On Behalf Of </b>Majewski, Steven Dennis (sdm7g)<br>
<b>Sent:</b> Thursday, August 17, 2017 12:36 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] help requested with an error message - missing attribute<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div id="x_divtagdefaultwrapper">
<p><span style="font-family:"Calibri",sans-serif;color:black">Also do a validation of the EAD in oxygen. ASpace will sometimes produce invalid EAD, often caused by glitches handling mixed content / markup in notes, or by mixed published/unpublished content
producing empty or missing elements. Most of the errors exporting PDF that I've seen are caused by invalid EAD. ( Although your's is one I haven't seen: If you're still at a loss, please post the EAD and we'll investigate. ) <o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<div id="x_Signature">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:black"><br>
-- Steve Majewski / UVA Alderman Library <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="3" width="98%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;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 Seth Shaw <<a href="mailto:seth.shaw@unlv.edu">seth.shaw@unlv.edu</a>><br>
<b>Sent:</b> Thursday, August 17, 2017 11:33:00 AM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] help requested with an error message - missing attribute</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Note that the print to PDF process runs the EAD through an XSLT to<br>
create an XSL Formatting Objects (XSL-FO) document which is then<br>
converted into a PDF. This error may refer to line 3255 your<br>
as-ead-pdf.xsl (which lives in the stylesheets subdirectory of the<br>
archivesspace home directory), but that seems unlikely if the print to<br>
PDF works for other documents, OR the error could be the result of a<br>
bad transformation. I would first check the as-ead-pdf.xsl and, if<br>
that doesn't seem to be the source, run the EAD through the stylesheet<br>
using oXygen and check the output.<br>
<br>
If none of that turns anything up send along the original EAD and your<br>
as-ead-pdf.xsl to see if we can help debug.<br>
<br>
Good luck!<br>
<br>
On Thu, Aug 17, 2017 at 6:58 AM, Kari R Smith <<a href="mailto:smithkr@mit.edu">smithkr@mit.edu</a>> wrote:<br>
> Hello,<br>
><br>
> We are unable to print to PDF a finding aid and I’m having trouble locating<br>
> where this error is so I can correct it:<br>
><br>
><br>
><br>
> org.apache.fop.fo.ValidationException: null:3255:124: Missing attribute on<br>
> fo:basic-link: Either external-destination or internal-destination must be<br>
> specified. (See position 3255:124)<br>
><br>
><br>
><br>
> I’ve exported the EAD and at line 3255 there is a name entry.<br>
><br>
> I’m looking at the XML in Oxygen and have searched on “fo:basic-link” to no<br>
> success.<br>
><br>
><br>
><br>
> Thanks in advance!<br>
><br>
><br>
><br>
><br>
><br>
> Kari R. Smith<br>
><br>
> Digital Archivist and Program Head for Born-digital Archives<br>
><br>
> Institute Archives and Special Collections<br>
><br>
> Massachusetts Institute of Technology Libraries, Cambridge, Massachusetts<br>
><br>
> 617.253.5690 smithkr at mit.edu <a href="http://libraries.mit.edu/archives/">
http://libraries.mit.edu/archives/</a><br>
> @karirene69<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Archivesspace_Users_Group mailing list<br>
> <a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
> <a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
><br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>