On 03/05/2015 11:42 AM, GRUNDTVIG NIELSEN Niels AWL-T&P wrote:
F5 Check ditamap – no errors or warnings found; encouraging, but when I
generate a .pdf from the ditamap in question I get a FOP error about a
missing graphic.
[FOP ERROR] Unable to obtain stream from system identifier
'file:/C:/Users/a548040/AppData/Local/Temp/xxe2737135289091161947_d/???'
[FOP ERROR] The Source that was returned from URI resolution didn't
contain an InputStream for URI: ???
[FOP ERROR] Image not found. URI: ???. (See position 103:788)
The final message is still “command execution has succeeded”, so I’m
wondering if there is any way to see which .dita file is throwing the
problem.
There is no way other than 1) looking at the generated PDF file (because
the PDF file has indeed been generated), 2) finding the page where an
image is missing and 3) guessing from this page the corresponding DITA
source file.
This correspondence (3) can be established by using text search in the
PDF and on the source side, by using multi-file text search --
http://www.xmlmind.com/xmleditor/_distrib/doc/help/searchFilesPane.html
-- in XXE. You'll have to search for some text which is nearby the
missing image.
To make things worse, unlike RenderX XEP and XMLmind XSL-FO Converter,
Apache FOP does not add a missing image placeholder when an image cannot
be rendered. There is simply nothing at all at the place where the image
should be.
Therefore what I suggest is not that easy to do if you have a large
document.
Of course, "F5 Check ditamap" could also detect such problems. May be
we'll implement this feature in next version.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support