the problem is with <fo:leader/>; if removed, there is no exception; i will create a bug to track this and should be able to resolve, or at least eliminate exception for final 1.1 release
On Sun, Jul 15, 2012 at 4:26 AM, Jim Quest <quest.ja...@gmail.com> wrote: > hello, > i have seen that this fo causes a null-pointer-exception at fop1.1rc1. > the same fo is perfectly fine if writing-mode="lr" or not specified > > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="Arial" > writing-mode="rl"> > <fo:layout-master-set> > <fo:simple-page-master page-height="297mm" page-width="210mm" > master-name="a4"> > <fo:region-body margin-top="11mm" margin-bottom="12mm" > margin-right="10mm" margin-left="10mm"/> > </fo:simple-page-master> > </fo:layout-master-set> > > <fo:page-sequence master-reference="a4"> > <fo:flow flow-name="xsl-region-body"> > <fo:block id="1">وكلما</fo:block> > <fo:block text-align-last="justify">More text <fo:leader > leader-pattern="dots"/> <fo:page-number-citation ref-id="1"/> > </fo:block> > </fo:flow> > </fo:page-sequence> > > </fo:root> > > not exactly sure which bit of the following is causing it. > <fo:block text-align-last="justify">More text <fo:leader > leader-pattern="dots"/> <fo:page-number-citation ref-id="1"/> </fo:block> > > have tried several variations of it, and some of it woks and others don't. >