diff options
author | Jeremias Maerki <jeremias@apache.org> | 2007-10-05 13:54:17 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2007-10-05 13:54:17 +0000 |
commit | 7813671bc4c43b88af41b15304e28fe397162a91 (patch) | |
tree | 6ece3f7b5e44650399138e6b1a3041382f94bf65 /test | |
parent | 719ba26ab729eea00c4362ad62eac729885f10ec (diff) | |
download | xmlgraphics-fop-7813671bc4c43b88af41b15304e28fe397162a91.tar.gz xmlgraphics-fop-7813671bc4c43b88af41b15304e28fe397162a91.zip |
Fixed a bug in the test. MediaPosition takes an integer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@582271 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/layoutengine/standard-testcases/ps-extension_2.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/layoutengine/standard-testcases/ps-extension_2.xml b/test/layoutengine/standard-testcases/ps-extension_2.xml index 6429b789e..846a96db5 100644 --- a/test/layoutengine/standard-testcases/ps-extension_2.xml +++ b/test/layoutengine/standard-testcases/ps-extension_2.xml @@ -27,13 +27,13 @@ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:ps="http://xmlgraphics.apache.org/fop/postscript">
<fo:layout-master-set>
<fo:simple-page-master master-name="A4" page-height="29.7cm" page-width="21cm" margin-top="1cm" margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm">
- <ps:ps-setpagedevice name="lower tray"><![CDATA[ << /MediaPosition /4 >> ]]></ps:ps-setpagedevice>
+ <ps:ps-setpagedevice name="lower tray"><![CDATA[ << /MediaPosition 4 >> ]]></ps:ps-setpagedevice>
<ps:ps-comment-before>A4 before page</ps:ps-comment-before>
<ps:ps-comment-after>A4 after page</ps:ps-comment-after>
<fo:region-body/>
</fo:simple-page-master>
<fo:simple-page-master master-name="A4a" page-height="29.7cm" page-width="21cm" margin-top="1cm" margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm">
- <ps:ps-setpagedevice name="upper tray"><![CDATA[ << /MediaPosition /1 >> ]]></ps:ps-setpagedevice>
+ <ps:ps-setpagedevice name="upper tray"><![CDATA[ << /MediaPosition 1 >> ]]></ps:ps-setpagedevice>
<ps:ps-comment-before>A4a before page</ps:ps-comment-before>
<ps:ps-comment-after>A4a after page</ps:ps-comment-after>
<fo:region-body background-color="orange"/>
|