aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/cli/CommandLineOptions.java
diff options
context:
space:
mode:
authorMehdi Houshmand <mehdi@apache.org>2012-07-04 15:27:21 +0000
committerMehdi Houshmand <mehdi@apache.org>2012-07-04 15:27:21 +0000
commite4dfc7fe53f6987f08cdbe568c612f19aa2e86ee (patch)
tree2470c5c7a08ba58743871de55498a5ef9aa17130 /src/java/org/apache/fop/cli/CommandLineOptions.java
parent69b461d2b4303e75f6d3ef40b1b4ac9c20576b5a (diff)
downloadxmlgraphics-fop-e4dfc7fe53f6987f08cdbe568c612f19aa2e86ee.tar.gz
xmlgraphics-fop-e4dfc7fe53f6987f08cdbe568c612f19aa2e86ee.zip
Fixed regression re:strict-validation parameter in fop.xconf
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357307 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/cli/CommandLineOptions.java')
-rw-r--r--src/java/org/apache/fop/cli/CommandLineOptions.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/cli/CommandLineOptions.java b/src/java/org/apache/fop/cli/CommandLineOptions.java
index aa402aa6a..5a770c3ba 100644
--- a/src/java/org/apache/fop/cli/CommandLineOptions.java
+++ b/src/java/org/apache/fop/cli/CommandLineOptions.java
@@ -1031,14 +1031,15 @@ public class CommandLineOptions {
FopFactoryBuilder fopFactoryBuilder;
if (userConfigFile == null) {
fopFactoryBuilder = new FopFactoryBuilder(new File(".").toURI());
+ fopFactoryBuilder.setStrictFOValidation(strictValidation);
+ fopFactoryBuilder.setTargetResolution(targetResolution);
+ fopFactoryBuilder.setComplexScriptFeatures(useComplexScriptFeatures);
} else {
try {
fopFactoryBuilder = new FopConfParser(userConfigFile).getFopFactoryBuilder();
} catch (SAXException e) {
throw new FOPException(e);
}
- fopFactoryBuilder.setStrictFOValidation(strictValidation);
- fopFactoryBuilder.setComplexScriptFeatures(useComplexScriptFeatures);
}
factory = fopFactoryBuilder.build();
}