I am getting the following error when using to print an .fo file with usig
fop.
C:\>fop xslfo.fo -print
May 16, 2012 10:32:37 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.ArrayIndexOutOfBoundsException: 2
at
org.apache.fop.cli.CommandLineOptions.parsePrintOutputOption(CommandL
ineOptions.java:559)
at
org.apache.fop.cli.CommandLineOptions.parseOptions(CommandLineOptions
.java:325)
at
org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:1
62)
at org.apache.fop.cli.Main.startFOP(Main.java:158)
at org.apache.fop.cli.Main.main(Main.java:205)
XSLFO.fo file content:
<?xml version="1.0" encoding="ISO-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="A4">
<fo:region-body />
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="A4">
<fo:flow flow-name="xsl-region-body">
<fo:block text-indent="80mm" space-before="0mm">REPORT STATUS</fo:block>
<fo:block text-indent="80mm"
space-before="0mm">--------------</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
COMMAND IS;C:\>fop xslfo.fo -print
anyone please solve my problem
Regards,
Murali
--
View this message in context:
http://old.nabble.com/getting-error-when-use--print-tp33859521p33859521.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]