]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed a bug in the test. MediaPosition takes an integer.
authorJeremias Maerki <jeremias@apache.org>
Fri, 5 Oct 2007 13:54:17 +0000 (13:54 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 5 Oct 2007 13:54:17 +0000 (13:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@582271 13f79535-47bb-0310-9956-ffa450edef68

test/layoutengine/standard-testcases/ps-extension_2.xml

index 6429b789edfde7c5b9f89f8649825f7e198f2ff9..846a96db5b0007bc59a588cae5692b939824fd5a 100644 (file)
     <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:ps="http://xmlgraphics.apache.org/fop/postscript">\r
       <fo:layout-master-set>\r
         <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">\r
-          <ps:ps-setpagedevice name="lower tray"><![CDATA[ << /MediaPosition /4 >> ]]></ps:ps-setpagedevice>\r
+          <ps:ps-setpagedevice name="lower tray"><![CDATA[ << /MediaPosition 4 >> ]]></ps:ps-setpagedevice>\r
           <ps:ps-comment-before>A4 before page</ps:ps-comment-before>\r
           <ps:ps-comment-after>A4 after page</ps:ps-comment-after>\r
           <fo:region-body/>\r
         </fo:simple-page-master>\r
         <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">\r
-          <ps:ps-setpagedevice name="upper tray"><![CDATA[ << /MediaPosition /1 >> ]]></ps:ps-setpagedevice>\r
+          <ps:ps-setpagedevice name="upper tray"><![CDATA[ << /MediaPosition 1 >> ]]></ps:ps-setpagedevice>\r
           <ps:ps-comment-before>A4a before page</ps:ps-comment-before>\r
           <ps:ps-comment-after>A4a after page</ps:ps-comment-after>\r
           <fo:region-body background-color="orange"/>\r