[xep-support] Re: Abort when Image File not found?

From: Kevin Brown <kevin@renderx.com>
Date: Thu Sep 27 2012 - 12:57:50 PDT

Thomas/John and anyone else who wishes to respond.
I have someone who may be willing to do this -- question on Specs:
Other than image not found, is there any other "warning" you wish to abort on?
Just from memory -- warnings could be:
Image not foundFont asked for not found and is being replaced by default font
Kevin
-----Original Message-----From: xep-support-bounces@renderx.com [mailto:xep-support-bounces@renderx.com] On Behalf Of Thomas SchraitleSent: Thursday, September 27, 2012 5:00 AMTo: xep-support@renderx.comSubject: [xep-support] Re: Abort when Image File not found?
Hi Alexey,
On Thu, 27 Sep 2012 14:16:17 +0400Alexey Gagarinov <agagarinov@renderx.com> wrote: > > when XEP tries to find an image file and it can't, it proceeds in > > the rendering process and shows the 404 image in the output format.> > I would like to stop XEP in case an image cannot be found.> >> > How can I do this?> > There is no "official" way to stop XEP when an image is not found.> Where and why you need this behavior?
Well, consider it as an early "quality control alarm". :) If XEP has built a PDF, is the PDF correct? Maybe, maybe not. If you haven't looked at the (error?) messages, you can't tell.
The only way to tell is to browse through your 600 or so pages to find the missing images. Not very nice.
The question is, should XEP abort the rendering process if it can't find an image. Well, probably the FO spec gives you some freedom in this regard. I would propose to make it either an option in the configuration or in the command line.
With such a configuration method, people can switch the behaviour: when they are writing their documents, missing images are not very serious as they will be added later. However, if they create the final document, any missing pieces should are fatal and so should be any error messages (which means, abort).
That would make such an error obvious and you won't deliver broken PDFs anymore.

--Gruß/Regards, Thomas Schraitle
!DSPAM:87,50643fe863731083312073!

_______________________________________________(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support(*) By using the Service, you expressly agree to these Terms of Service http://w ww.renderx.com/terms-of-service.html
_______________________________________________(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Thu Sep 27 12:47:16 2012

This archive was generated by hypermail 2.1.8 : Thu Sep 27 2012 - 12:47:17 PDT