This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

collection of differences in XSL-FO implementations


Hi,

I am using fop.0.20.2, fop.0.20.3 and xep 2.7 and get different results
sometimes. Since the company might change between the products it is
necessary to protocoll the differences experienced and creating respective
test files.  I found that the website of fop is quite incomplete in
describing limitations. Does such a collection already exist? Or would it be
interesting to establish one?

Examples for non-mentioned limitions:
markers, page-position="last"

I think the following is a bug of fop as well:

<table start-indent="x">
  ...
  <table:row>
    <fo:table-cell><fo:block start-indent="y">	
      ...
  </table:row
</table>

this results in different indentations in fop and xep. A complete example
(fop.0.20.3/xep) follows:

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="first">
      <fo:region-body margin-top="1cm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>

  <fo:page-sequence master-reference="first">
    <fo:flow flow-name="xsl-region-body">
      <fo:block>The following table has 10mm start indent</fo:block> 
      <fo:table start-indent="10mm">
        <fo:table-column column-width="90mm"/>
        <fo:table-column column-width="60mm"/>
          <fo:table-body>
            <fo:table-row><fo:table-cell><fo:block>
              block ohne start
indent</fo:block></fo:table-cell></fo:table-row>
            <fo:table-row><fo:table-cell><fo:block start-indent="5mm">
              block with 5mm start
indent</fo:block></fo:table-cell></fo:table-row>
            <fo:table-row><fo:table-cell><fo:block start-indent="10mm">
              block with 10mm start
indent</fo:block></fo:table-cell></fo:table-row>
            <fo:table-row><fo:table-cell><fo:block start-indent="20mm">
              block with 20mm start
indent</fo:block></fo:table-cell></fo:table-row>
            <fo:table-row><fo:table-cell><fo:block start-indent="-10mm">
              block with -10mm start
indent</fo:block></fo:table-cell></fo:table-row>
          </fo:table-body>
        </fo:table>      
    </fo:flow>
  </fo:page-sequence>
</fo:root>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]