HI, I was working with FOP-0.20.4 and my fo had many footnotes in it. Whenever a footnote appeared at the last line or after the last word, the FOP will quit giving a message null and nothing else. has anybody faced this similar problem, or can anybody suggest so that the problem can be handled somehow. Thanks Narinder here is the fo file: <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xml.apache.org/fop/extensions"> <fo:layout-master-set> <fo:simple-page-master master-name="halftitlePage" page-height="612pt" page- width="396pt" margin-bottom="79pt" margin-left="48pt" margin-right="48pt" margin-top="138pt"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="halftitlePage" format="1" initial-page- number="1"> <fo:flow flow-name="xsl-region-body"> <fo:block id="IDA1ZSPB" hyphenate="true" hyphenation-push-character- count="2" hyphenation-remain-character-count="3" language="en"> <fo:block id="pg1"/> <fo:block font-family="NewBaskerville" font-size="13pt" line- height="17pt" text-align="justify" text-indent="17pt"> <fo:inline id="pg6"/> pamphleteer, had taken strong ground against the measures of the British Government injurious to American commerce, wrote as follows in 1808 about the practice of seizing British subjects in American ships: “That we, the people of America, should engage in ruinous warfare to support a rash opinion, that foreign sailors in our merchant ships are to be protected against the power of their sovereign, is downright madness.” “Why not,” he wrote again in 1813, while the war was raging, “waiving flippant debate, lay down the broad principle of national right, on which Great Britain takes her native seamen from our merchant ships? Let those who deny the right pay, suffer, and fight, to compel an abandonment of the claim. Men of sound mind will see, and men of sound principle will acknowledge, its existence.” In his opinion, there was but one consistent course to be pursued by those who favored the war with Great Britain, which was to insist that she should, without compensation, surrender her claim. “If that ground be taken,” he wrote, “the war [on our part] will be confessedly, as it is now impliedly, unjust.” Morris was a man honorably distinguished in our troubled national history—a member of the<fo:footnote> <fo:inline font-family="NewBaskervilleSC" font-size="11pt" line- height="13.75pt"> <fo:basic-link internal-destination="chap1.6.4">4</fo:basic- link> </fo:inline> <fo:footnote-body> <fo:block text-align="justify" font-family="NewBaskerville" font- size="11pt" line-height="13.75pt" id="chap1.6.4" padding-before="0.75pt * 3" text-indent="0pt" start-indent="0pt"> <fo:inline font-family="NewBaskervilleSC">4</fo:inline>. Annals of Congress. Thirteenth Congress, vol. ii. pp. <fo:inline font- family="NewBaskervilleSC"> <fo:basic-link internal-destination="pg1563"> <fo:page-number-citation ref-id="pg1563"/> </fo:basic- link> </fo:inline>; <fo:inline font-family="NewBaskervilleSC">1555– 1558</fo:inline>.</fo:block> </fo:footnote-body> </fo:footnote> <fo:inline></fo:inline>zation </fo:block> </fo:block> </fo:flow> </fo:page-sequence> </fo:root>
Cannot reproduce the problem, probably because I don't have NewBaskerville font. provide an example with no special font definition, please.
Hi Oleg, I have made modifcation in the fo file, and the following file is generating the same errors. Thanks Narinder <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xml.apache.org/fop/extensions"> <fo:layout-master-set> <fo:simple-page-master master-name="halftitlePage" page-height="612pt" page- width="396pt" margin-bottom="79pt" margin-left="48pt" margin-right="48pt" margin-top="138pt"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="halftitlePage" format="1" initial-page- number="1"> <fo:flow flow-name="xsl-region-body"> <fo:block id="IDA1ZSPB" hyphenate="true" hyphenation-push-character- count="2" hyphenation-remain-character-count="3" language="en"> <fo:block id="pg1"/> <fo:block font-size="13pt" line-height="17pt" text-align="justify" text- indent="17pt"> <fo:inline id="pg6"/> pamphleteer, had taken strong ground against the measures of the British Government injurious to American commerce, wrote as follows in 1808 about the practice of seizing British subjects in American ships: That we, the people of America, should engage in ruinous warfare to support a rash opinion, that foreign sailors in our merchant ships are to be protected against the power of their sovereign, is downright madness. Why not, he wrote again in 1813, while the war was raging, waiving flippant debate, lay down the broad principle of national right, on which Great Britain takes her native seamen from our merchant ships? Let those who deny the right pay, suffer, and fight, to compel an abandonment of the claim. Men of sound mind will see, and men of sound principle will acknowledge, its existence. In his opinion, there was but one consistent course to be pursued by those who favored the war with Great Britain, which was to insist that she should, without compensation, surrender her claim. If that ground be taken, he wrote, the war [on our part] will be confessedly, as it is now impliedly, unjust. Morris was a man honorably distinguished in our troubled national<fo:footnote> <fo:inline font-size="11pt" line-height="13.75pt"> <fo:basic-link internal-destination="chap1.6.4">4</fo:basic-link> </fo:inline> <fo:footnote-body> <fo:block text-align="justify" font-size="11pt" line- height="13.75pt" id="chap1.6.4" padding-before="0.75pt * 3" text-indent="0pt" start-indent="0pt"> <fo:inline>4</fo:inline>. Annals of Congress. Thirteenth Congress, vol. ii. pp. <fo:inline> <fo:basic-link internal-destination="pg1563"> <fo:page-number-citation ref-id="pg1563"/> </fo:basic-link> </fo:inline>; <fo:inline>1555 1558</fo:inline>.</fo:block> </fo:footnote-body> </fo:footnote> <fo:inline></fo:inline>zation </fo:block> </fo:block> </fo:flow> </fo:page-sequence> </fo:root>
works fine in current trunk.
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed