<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Kevin et. al.<div><br></div><div>There are a number of lists and forums for DITA:</div><div><br></div><div><a href="https://groups.yahoo.com/neo/groups/dita-users/info">DITA users group - Yahoo Groups</a> for DITA discussions.</div><div><br></div><div><a href="https://github.com/dita-ot/dita-ot/">dita-ot/dita-ot · GitHub</a> for specific discussions concerning the DITA Open Toolkit.</div><div><br></div><div><a href="http://oxygenxml.com/forum/">Oxygen XML Forum</a> for discussions about Oxygen.</div><div><br></div><div>It's worth noting that Oxygen includes the DITA Open Toolkit that includes Apache FOP. I'm not suggesting it is comparable, but it could be useful for troubleshooting. To determine if the problem is with the DITA Open Toolkit or with XEP.</div><div><br></div><div>It would be very useful to capture this thread and post to GitHub. Is there a public domain archive of this list, and what would be the URL for this thread?</div><div><br></div><div>Many thanks,</div><div>David</div><div><br></div><div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="white" background="cid:A2A9C449-27C7-4DBD-8C77-78CA3B778AB7@default" lang="EN-US" link="#9D454F" vlink="#814E95" style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><image003.gif></span><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Additionally, I would mention that your pasted in XSL FO that comes from XSL also shows the XSL create an <fo:inline> element as the direct child of an <fo:block-container>.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">That is also completely wring.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">So … are these from the core DITA XSLs or are you using some modified XSLs? If you are using modified XSLs, then you should examine these.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Both of these are complete errors in the XSL FO standard.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><fo:block-container> should have <fo:block> (Or another <fo:block-container> and maybe a few other things) as a child, but certainly not an <fo:inline><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><fo:external-graphic> is an empty element in the standard and having any content (including the textual content that is a return) is an error.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Kevin Brown<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">RenderX<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div><div style="border-style: solid none none; border-top-color: rgb(225, 225, 225); border-top-width: 1pt; padding: 3pt 0in 0in;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;">From:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;"><span class="Apple-converted-space"> </span>Xep-support [<a href="mailto:xep-support-bounces@renderx.com" style="color: rgb(129, 78, 149); text-decoration: underline;">mailto:xep-support-bounces@renderx.com</a>]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Kevin Brown<br><b>Sent:</b><span class="Apple-converted-space"> </span>Tuesday, July 28, 2015 5:37 PM<br><b>To:</b><span class="Apple-converted-space"> </span>'RenderX Community Support List' <<a href="mailto:xep-support@renderx.com" style="color: rgb(129, 78, 149); text-decoration: underline;">xep-support@renderx.com</a>><br><b>Subject:</b><span class="Apple-converted-space"> </span>[xep-support] Re: [xep] [XEPJ002E][ERROR] Element 'fo:external-graphic' must be empty.<o:p></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">First: contact the DITA XSL owners and discuss how what they implement is wrong. Having white space inside the <fo:external-graphic/> is wrong. Don’t take my word for it, take a look at even pasting your content right back into oXygen:<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: Verdana, sans-serif;"><span><image004.png></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Now: You can set XEP up in three ways:<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt 0.75in; font-size: 12pt; font-family: Verdana, sans-serif; text-indent: -0.25in;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span>A)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman';">    <span class="Apple-converted-space"> </span></span></span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Abort on errors and report them<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt 0.75in; font-size: 12pt; font-family: Verdana, sans-serif; text-indent: -0.25in;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span>B)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman';">     <span class="Apple-converted-space"> </span></span></span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Don’t Abort on errors and try and process and don’t report them<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt 0.75in; font-size: 12pt; font-family: Verdana, sans-serif; text-indent: -0.25in;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><span>C)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman';">     <span class="Apple-converted-space"> </span></span></span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Report on errors but still try to process<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">To do (A) which is default, you would do nothing in “xep.xml” or you would have the setting:<br><option name=”VALIDATE” value=”true”/><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">This is what you have currently as it aborts.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">To do (B), you would put these settings in “xep.xml”:<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><option name=”VALIDATE” value=”false”/><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">This will format the document despite the error, I tested it.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">To do (C), you would put these settings in “xep.xml”:<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><option name=”VALIDATE” value=”true”/><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><option name=”DISCARD_IF_NOT_VALID” value=”false”/><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">This will format the document despite the error, I tested it.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Kevin Brown<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">RenderX<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div><div style="border-style: solid none none; border-top-color: rgb(225, 225, 225); border-top-width: 1pt; padding: 3pt 0in 0in;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;">From:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;"><span class="Apple-converted-space"> </span>Xep-support [<a href="mailto:xep-support-bounces@renderx.com" style="color: rgb(129, 78, 149); text-decoration: underline;">mailto:xep-support-bounces@renderx.com</a>]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Gibbons, Dave (Hillsboro)<br><b>Sent:</b><span class="Apple-converted-space"> </span>Tuesday, July 28, 2015 4:46 PM<br><b>To:</b><span class="Apple-converted-space"> </span>'RenderX Community Support List' (<a href="mailto:xep-support@renderx.com" style="color: rgb(129, 78, 149); text-decoration: underline;">xep-support@renderx.com</a>) <<a href="mailto:xep-support@renderx.com" style="color: rgb(129, 78, 149); text-decoration: underline;">xep-support@renderx.com</a>><br><b>Subject:</b><span class="Apple-converted-space"> </span>[xep-support] [xep] [XEPJ002E][ERROR] Element 'fo:external-graphic' must be empty.<o:p></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">I get the above error using DITA content transformed to PDF through Oxygen 17 and DITA toolkit version 2.1 with XEP 4.24 on a Windows 7 system. This message appears to show up for each image element that has an embedded alt element, like this:<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">      <image height="89px" width="165px" href="logo.png" ><o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">                <alt>Company name</alt><o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">       </image><o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">     <o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">Some older, similar content that uses the deprecated alt attribute rather than the alt element processes through XEP without showing this error.<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">XEP appears to fail after hitting 12 image elements with embedded alt elements, showing a message like this:<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: Verdana, sans-serif;">[xep] Rendering failed: Invalid XSL FO source 'file:/c:/buildtemp/topic.fo': 12 errors found during validation<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">Oxygen's transformation completes successfully, but produces a zero-byte PDF, whether XEP hits one of these errors or 12.<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">The image code in stage1.xml and stage1a.xml looks like this:<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">            <image class="- topic/image " height="89px" href="logo.png" placement="inline" width="165px" xtrc="image:1;18:65" xtrf="file:/C:/Temp/test.xml"><o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">                <alt class="- topic/alt " xtrc="alt:1;19:22" xtrf="file:/C:/Temp/test.xml">Company name</alt><o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;">            </image><o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><b><span lang="EN-GB"> </span></b></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span lang="EN-GB">In stage2.fo, stage3.fo, and topic.fo it looks like this:<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span lang="EN-GB"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span lang="EN-GB">            <fo:inline><fo:external-graphic content-height="89px" content-width="165px" src="url('file:/C:/Temp/logo.png')"><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span lang="EN-GB">               <o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span lang="EN-GB">            </fo:external-graphic></fo:inline><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span lang="EN-GB"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span lang="EN-GB">What do we need to do to get our setup to handle image elements with alt elements?<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span lang="EN-GB"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span lang="EN-GB">Thank you for any help.<b><o:p></o:p></b></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><b><span lang="EN-GB" style="font-family: Arial, sans-serif;"> </span></b></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><b><span lang="EN-GB" style="font-size: 9pt; font-family: Arial, sans-serif;">Dave Gibbons<o:p></o:p></span></b></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 9pt; font-family: Arial, sans-serif;">Technical Communicator - Senior<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span lang="EN-GB" style="font-size: 9pt; font-family: Arial, sans-serif;">DBG/Digital Channels<br><b>Fiserv</b><br>Office: 503-746-0968<br>Cell/home: 503-804-9166<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Verdana, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB" style="color: rgb(44, 67, 138); text-decoration: underline;"><a href="http://www.fiserv.com/" style="color: rgb(129, 78, 149); text-decoration: underline;">www.fiserv.com</a></span></span></div></div></div></blockquote></div><br></div></body></html>