diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-07-05 09:22:26 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-07-05 09:22:26 +0000 |
commit | 6087e3d7085791007f1cd997f5a114348442351d (patch) | |
tree | 02c62a3751773650f07c78726e82744da6ddafcf /src/java/org/apache/fop/cli | |
parent | 01d68aa91e5d8af58c44f4185f75f958e87c5b3e (diff) | |
download | xmlgraphics-fop-6087e3d7085791007f1cd997f5a114348442351d.tar.gz xmlgraphics-fop-6087e3d7085791007f1cd997f5a114348442351d.zip |
Command line parameters override fop conf settings when set (they won't override when not set)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357517 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/cli')
-rw-r--r-- | src/java/org/apache/fop/cli/CommandLineOptions.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/cli/CommandLineOptions.java b/src/java/org/apache/fop/cli/CommandLineOptions.java index 5a770c3ba..ea5a20d27 100644 --- a/src/java/org/apache/fop/cli/CommandLineOptions.java +++ b/src/java/org/apache/fop/cli/CommandLineOptions.java @@ -1040,6 +1040,12 @@ public class CommandLineOptions { } catch (SAXException e) { throw new FOPException(e); } + if (!strictValidation) { + fopFactoryBuilder.setStrictFOValidation(strictValidation); + } + if (useComplexScriptFeatures) { + fopFactoryBuilder.setComplexScriptFeatures(useComplexScriptFeatures); + } } factory = fopFactoryBuilder.build(); } |