Bug 43704 - fop -xsl stylesheet option cannot be used in 0.94
Summary: fop -xsl stylesheet option cannot be used in 0.94
Status: CLOSED DUPLICATE of bug 42616
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: 0.94
Hardware: Sun Solaris
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-26 05:54 UTC by Alfred Nathaniel
Modified: 2012-04-01 13:51 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred Nathaniel 2007-10-26 05:54:36 UTC
A commandline as

fop-0.94/fop -xml foo.xml -xsl foo.xsl -pdf foo.pdf

produces the usage text and aborts with

java.lang.IllegalArgumentException: Error creating InputHandler object.
        at org.apache.fop.cli.CommandLineOptions.createInputHandler
(CommandLineOptions.java:818)
        at org.apache.fop.cli.CommandLineOptions.parse
(CommandLineOptions.java:165)
        at org.apache.fop.cli.Main.startFOP(Main.java:154)
        at org.apache.fop.cli.Main.main(Main.java:197)

(Same commandline is working in 0.93.)
Comment 1 Jeremias Maerki 2007-10-26 06:15:13 UTC
It works for me.

However, I'm able to force your error message if I introduce a typo on the
command-line:

fop -xm foo.xml -xsl foo.xsl -pdf foo.pdf
     ^^^^
gets me exactly the same error message. So I guess you had a typo but didn't
notice. Can you please verify and close this bug, or copy/paste the actual
command-line you used here?

Comment 2 Alfred Nathaniel 2007-10-29 07:41:04 UTC
Artefact of Bug 41616 (setting IFS shell variable)

*** This bug has been marked as a duplicate of 42616 ***
Comment 3 Glenn Adams 2012-04-01 13:51:30 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs