Package: fop<br><div>Version: 0.95.dfsg-10<br></div><div><br></div><div><br></div><br><div>When I run "fop" from an ordinary shell prompt it prints:<br></div><div><br></div><br>$ fop -c /etc/fop.conf -xml 2.xml -xsl 1.xsl -pdf 3.pdf<br>
/etc/fop.conf: line 1: syntax error near unexpected token `newline'<br>/etc/fop.conf: line 1: `<?xml version="1.0"?>'<br>/etc/fop.conf: line 1: warning: syntax errors in . or eval will cause future versions of the shell to abort as Posix requires<br>
<div>...<br></div><div><br></div><div>I find patch for file /usr/bin/fop</div><div><br></div><div>I change line 22 in /usr/bin/fop to</div><div><br>fop_exec_args="-c /etc/fop.conf $fop_exec_args "<br><br></div>
<div>
and after that it works fine.</div><div><br></div><div>I am using Debian GNU/Linux 5.0, kernel 2.6.32-trunk-686-bigmem.</div><div><br></div><div>Thx.</div><div><br></div><div><br></div>