diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2014-07-28 15:29:10 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2014-07-28 15:29:10 +0000 |
commit | 5dd78dfeeb82f1bc19f89887ecace5497114261c (patch) | |
tree | ce3e2df4fb66ece02a381dab4debbed047d86a2e /test | |
parent | e5fd61ed972a5548675fbcc784d2693119fe548c (diff) | |
download | xmlgraphics-fop-5dd78dfeeb82f1bc19f89887ecace5497114261c.tar.gz xmlgraphics-fop-5dd78dfeeb82f1bc19f89887ecace5497114261c.zip |
Disable checkEOF when processing PS files. It's perfectly valid to have an %%EOF comment in the middle of a file if it includes other documents.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1614055 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/java/org/apache/fop/render/ps/ResourceOptimizationTestCase.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/java/org/apache/fop/render/ps/ResourceOptimizationTestCase.java b/test/java/org/apache/fop/render/ps/ResourceOptimizationTestCase.java index 4f06938d2..8a548b1b5 100644 --- a/test/java/org/apache/fop/render/ps/ResourceOptimizationTestCase.java +++ b/test/java/org/apache/fop/render/ps/ResourceOptimizationTestCase.java @@ -83,6 +83,7 @@ public class ResourceOptimizationTestCase extends AbstractPostScriptTest { in = new java.io.BufferedInputStream(in); try { DSCParser parser = new DSCParser(in); + parser.setCheckEOF(false); //The first form is for arrow_down_small.png (to be reused) PSResource form1 = new PSResource(PSResource.TYPE_FORM, "FOPForm:1"); |