The first thing that occurred to me was some sort of pdf text extract...
If it fails due to badly formed pdf on the previous step, then probably
its because the file is corrupt.
Check for instance:
http://www.a-pdf.com/text/
Prolly there are tools like this for linux/korn shell compatible...
H2HH
:)
Steffanina, Jeff wrote:
FOP-0.95
Redhat Linux
All output looks great.
Situation:
IF the XML file contains a bug, a PDF is still created. Therefore, I
end up with a badly formed PDF on the disk. I then pass this bad file
to the spooler and the PDF file hangs the spooler. Due to the
multiple levels of system calls I am making in the application, I am
unable to trap the error (in this case, an fop ValidationException error).
Question:
When woking in the Korn shell, is there a simple way to test/determine
that the PDF file generated is properly formed and functional?
Thanks.
*/Jeff/*