Hi Jeremias,

> Author: jeremias
> Date: Fri Dec 28 07:11:56 2007
> New Revision: 607261
> 
> Modified: 
> xmlgraphics/fop/branches/Temp_ImagePackageRedesign/src/java/org/apache/fop/cli/CommandLineOptions.java
> @@ -768,6 +783,20 @@
>                                                + 
> areatreefile.getAbsolutePath()
>                                                + " not found ");
>              }
> +        } else if (inputmode == IMAGE_INPUT) {
> +            if (outputmode.equals(MimeConstants.MIME_XSL_FO)) {
> +                throw new FOPException(
> +                        "FO output mode is only available if you use -xml 
> and -xsl");
> +            }
> +            if (xmlfile != null) {
> +                log.warn("area tree input mode, but XML file is set:");
                             ^^^^^^^^^^^^^^^^^^^^
Copy-paste error? Only had a quick look, but this should probably be 
replaced with “image input mode”?

Vincent


-- 
Vincent Hennebert                            Anyware Technologies
http://people.apache.org/~vhennebert         http://www.anyware-tech.com
Apache FOP Committer                         FOP Development/Consulting

Reply via email to