Was a bug was introduced sometime after 0.20.4 ?

The following FO file causes fop-0.20.5rc to run forever. It generates a neverending log file that looks like this:

 [INFO] area contents overflows area [ERROR] Couldn't find hyphenation
 pattern en [ERROR] Error building hyphenation tree for language en
 [INFO] area contents overflows area [ERROR] Couldn't find hyphenation
 pattern en [ERROR] Error building hyphenation tree for language en
 [INFO] area contents overflows area [ERROR] Couldn't find hyphenation
 pattern en [ERROR] Error building hyphenation tree for language en
     .....

According to a helpful individual on [email protected], this runs fine in
fop-0.20.4.


Dave Bridgeland

The file that exposes the bug:

   <?xml version="1.0"?>

   <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";
   font-family="serif" font-size="10pt" text-align="justify"
   line-height="normal" language="en"><fo:layout-master-set>

   <fo:simple-page-master master-name="blank-draft" page-width="8.5in"
   page-height="11in" margin-top="0.5in" margin-bottom="0.5in"
   margin-left="1in" margin-right="1in"><fo:region-body
   margin-bottom="0.5in" margin-top="0.5in"
   
background-image="url(http://docbook.sourceforge.net/release/images/draft.png)"
   background-attachment="fixed" background-repeat="no-repeat"
   background-position-horizontal="center"
   background-position-vertical="center"/><fo:region-before
   region-name="xsl-region-before-blank" extent="0.4in"
   display-align="before"/><fo:region-after
   region-name="xsl-region-after-blank" extent="0.4in"
   display-align="after"/></fo:simple-page-master>


<fo:simple-page-master master-name="body-first-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master>


<fo:page-sequence-master master-name="body-draft"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank-draft" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="body-first-draft" page-position="first"/><fo:conditional-page-master-reference master-reference="body-odd-draft" odd-or-even="odd"/><fo:conditional-page-master-reference master-reference="body-even-draft" odd-or-even="even"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master>

   </fo:layout-master-set>

   <fo:page-sequence hyphenate="true" master-reference="body-draft"
   language="en" format="1" initial-page-number="1"><fo:static-content
   flow-name="xsl-region-before-first"><fo:block font-family="serif"
   margin-left="-4pc" margin-right="-4pc"><fo:table
   table-layout="fixed" width="100%" border-bottom-width="0.5pt"
   border-bottom-style="solid"
   border-bottom-color="black"><fo:table-column column-number="1"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="2"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="3"
   column-width="proportional-column-width(1)"/><fo:table-body><fo:table-row
   height="14pt"><fo:table-cell text-align="left"
   display-align="before"
   
relative-align="baseline"><fo:block><fo:block>Draft</fo:block></fo:block></fo:table-cell><fo:table-cell
   text-align="center" display-align="before"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell
   text-align="right" display-align="before"
   
relative-align="baseline"><fo:block><fo:block>Draft</fo:block></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content
   flow-name="xsl-region-before-odd"><fo:block font-family="serif"
   margin-left="-4pc" margin-right="-4pc"><fo:table
   table-layout="fixed" width="100%" border-bottom-width="0.5pt"
   border-bottom-style="solid"
   border-bottom-color="black"><fo:table-column column-number="1"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="2"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="3"
   column-width="proportional-column-width(1)"/><fo:table-body><fo:table-row
   height="14pt"><fo:table-cell text-align="left"
   display-align="before"
   
relative-align="baseline"><fo:block><fo:block>Draft</fo:block></fo:block></fo:table-cell><fo:table-cell
   text-align="center" display-align="before"
   
relative-align="baseline"><fo:block><fo:block>JavaScript</fo:block></fo:block></fo:table-cell><fo:table-cell
   text-align="right" display-align="before"
   
relative-align="baseline"><fo:block><fo:block>Draft</fo:block></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content
   flow-name="xsl-region-before-even"><fo:block font-family="serif"
   margin-left="-4pc" margin-right="-4pc"><fo:table
   table-layout="fixed" width="100%" border-bottom-width="0.5pt"
   border-bottom-style="solid"
   border-bottom-color="black"><fo:table-column column-number="1"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="2"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="3"
   column-width="proportional-column-width(1)"/><fo:table-body><fo:table-row
   height="14pt"><fo:table-cell text-align="left"
   display-align="before"
   
relative-align="baseline"><fo:block><fo:block>Draft</fo:block></fo:block></fo:table-cell><fo:table-cell
   text-align="center" display-align="before"
   
relative-align="baseline"><fo:block><fo:block>JavaScript</fo:block></fo:block></fo:table-cell><fo:table-cell
   text-align="right" display-align="before"
   
relative-align="baseline"><fo:block><fo:block>Draft</fo:block></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content
   flow-name="xsl-region-before-blank"><fo:block font-family="serif"
   margin-left="-4pc" margin-right="-4pc"><fo:table
   table-layout="fixed" width="100%" border-bottom-width="0.5pt"
   border-bottom-style="solid"
   border-bottom-color="black"><fo:table-column column-number="1"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="2"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="3"
   column-width="proportional-column-width(1)"/><fo:table-body><fo:table-row
   height="14pt"><fo:table-cell text-align="left"
   display-align="before"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell
   text-align="center" display-align="before"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell
   text-align="right" display-align="before"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content
   flow-name="xsl-footnote-separator"><fo:block><fo:leader
   color="black" leader-pattern="rule"
   leader-length="1in"/></fo:block></fo:static-content><fo:static-content
   flow-name="blank-body"><fo:block
   text-align="center"/></fo:static-content><fo:static-content
   flow-name="xsl-region-after-first"><fo:block font-family="serif"
   margin-left="-4pc" margin-right="-4pc"><fo:table
   table-layout="fixed" width="100%" border-top-width="0.5pt"
   border-top-style="solid" border-top-color="black"><fo:table-column
   column-number="1"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="2"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="3"
   column-width="proportional-column-width(1)"/><fo:table-body><fo:table-row
   height="14pt"><fo:table-cell text-align="left" display-align="after"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell
   text-align="center" display-align="after"
   
relative-align="baseline"><fo:block><fo:block><fo:page-number/></fo:block></fo:block></fo:table-cell><fo:table-cell
   text-align="right" display-align="after"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content
   flow-name="xsl-region-after-odd"><fo:block font-family="serif"
   margin-left="-4pc" margin-right="-4pc"><fo:table
   table-layout="fixed" width="100%" border-top-width="0.5pt"
   border-top-style="solid" border-top-color="black"><fo:table-column
   column-number="1"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="2"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="3"
   column-width="proportional-column-width(1)"/><fo:table-body><fo:table-row
   height="14pt"><fo:table-cell text-align="left" display-align="after"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell
   text-align="center" display-align="after"
   
relative-align="baseline"><fo:block><fo:block><fo:page-number/></fo:block></fo:block></fo:table-cell><fo:table-cell
   text-align="right" display-align="after"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content
   flow-name="xsl-region-after-even"><fo:block font-family="serif"
   margin-left="-4pc" margin-right="-4pc"><fo:table
   table-layout="fixed" width="100%" border-top-width="0.5pt"
   border-top-style="solid" border-top-color="black"><fo:table-column
   column-number="1"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="2"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="3"
   column-width="proportional-column-width(1)"/><fo:table-body><fo:table-row
   height="14pt"><fo:table-cell text-align="left" display-align="after"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell
   text-align="center" display-align="after"
   
relative-align="baseline"><fo:block><fo:block><fo:page-number/></fo:block></fo:block></fo:table-cell><fo:table-cell
   text-align="right" display-align="after"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content
   flow-name="xsl-region-after-blank"><fo:block font-family="serif"
   margin-left="-4pc" margin-right="-4pc"><fo:table
   table-layout="fixed" width="100%" border-top-width="0.5pt"
   border-top-style="solid" border-top-color="black"><fo:table-column
   column-number="1"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="2"
   column-width="proportional-column-width(1)"/><fo:table-column
   column-number="3"
   column-width="proportional-column-width(1)"/><fo:table-body><fo:table-row
   height="14pt"><fo:table-cell text-align="left" display-align="after"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell
   text-align="center" display-align="after"
   
relative-align="baseline"><fo:block><fo:block><fo:page-number/></fo:block></fo:block></fo:table-cell><fo:table-cell
   text-align="right" display-align="after"
   
relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content>

   <fo:flow flow-name="xsl-region-body"><fo:block
   id="JavaScript"><fo:block font-family="sans-serif"><fo:block
   margin-left="-4pc"><fo:block font-size="24.8832pt"
   font-weight="bold"><fo:block keep-with-next.within-column="always"
   space-before.optimum="10pt" space-before.minimum="8pt"
   space-before.maximum="12pt"
   
hyphenate="false">Chapter&#xA0;10.&#xA0;JavaScript</fo:block></fo:block></fo:block><fo:block/></fo:block><fo:block
   space-before.optimum="1em" space-before.minimum="0.8em"
   space-before.maximum="1.2em">
   foo
   </fo:block><fo:block font-style="italic" font-weight="normal"
   font-size="12pt" hyphenate="true" space-after.minimum="0.4em"
   space-after.optimum="0.6em" space-after.maximum="0.8em"
   space-before.optimum="1em" space-before.minimum="0.8em"
   space-before.maximum="1.2em"
   keep-with-next.within-column="always">Equation
   Variables</fo:block><fo:list-block id="id385546"
   provisional-distance-between-starts="1em"
   provisional-label-separation="0.25in" space-before.optimum="1em"
   space-before.minimum="0.8em" space-before.maximum="1.2em"
   space-after.optimum="1em" space-after.minimum="0.8em"
   space-after.maximum="1.2em"><fo:list-item id="id385553"
   space-before.optimum="1em" space-before.minimum="0.8em"
   space-before.maximum="1.2em"><fo:list-item-label
   end-indent="label-end()"
   
text-align="start"><fo:block><fo:inline>p</fo:inline></fo:block></fo:list-item-label><fo:list-item-body
   start-indent="body-start()"><fo:block>monthly payment
   
amount</fo:block></fo:list-item-body></fo:list-item></fo:list-block></fo:block></fo:flow></fo:page-sequence></fo:root>





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to