> -----Original Message----- > From: Arturo Perez [mailto:[EMAIL PROTECTED] > Sent: Friday, June 23, 2006 4:47 PM > > Perez wrote: > > > > Using trunk revision 412972 from June 9th (0.92beta) I get a > > ClassCastException in the ListBlockLayoutManager.java line 286. I > > made a patch for my local copy to avoid the crash but now the list > > items don't come out. Any possibility of a real patch/fix? Tia, > > > > > > The disappearing text is in the following obfuscated .fo > file. There should be a list-block appearing between the > paragraph beginning with > 3BFHGwaFzrOThFmJR: and the paragraph beginning with "RgL > mfwfoo561suV X2 cd0 aa3JdTd jme8jJeVlR". > > It looks like some really bad interaction between the blind > table of the document and the list block. Any help would be > vastly appreciated. If I can get some sort of pointer as to > why the list-block disappears I can redo the stylesheet to > avoid the problem.
Hi Arturo, After reading your fo file, I've identified what did not do the job: fo:inline containing a fo:list-block. (see the snippet in fine) Reading the spec, I don't know if the constraint [1] does explain this bahaviour. Someone else? [1] "No area may have more than one normal child area returned by the same fo:inline formatting object." Pascal <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:java="http://xml.apache.org/xalan/java" xmlns:xalan="http://xml.apache.org/xalan" xmlns:htp="http://www.hayesinc.com/healthcareTechProfile/1" xmlns:htb="http://www.hayesinc.com/healthcareTechBrief/1" hyphenate="true" language="en"> <fo:layout-master-set> <fo:simple-page-master margin-right="0.5in" margin-left="0.5in" margin-bottom="0.5in" margin-top="0.5in" page-height="11in" page-width="8.5in" master-name="simplePageMaster-first-HealthcareTechBrief"> <fo:region-body margin-right="0.0in" margin-left="0.0in" margin-bottom="1.5in" background-repeat="no-repeat" margin-top="0.75in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="simplePageMaster-first-HealthcareTechBrief"> <fo:flow flow-name="xsl-region-body"> <fo:block padding-top="10px" start-indent="0px"> <fo:inline> <!-- when this fo:inline is removed, the layout is well done --> <fo:list-block xmlns:psmi="http://www.CraneSoftwrights.com/resources/psmi" xmlns:fox="http://xml.apache.org/fop/extensions" keep-together="always" margin-left="0.5cm" space-after="2pt" provisional-label-separation="0.125cm" provisional-distance-between-starts="0.125in"> <fo:list-item> <fo:list-item-label end-indent="label-end()"> <fo:block>*</fo:block> </fo:list-item-label> <fo:list-item-body start-indent="body-start()"> <fo:block>J8Y7Rs hB DsYyJV jJOT2 NE yx27sel3 wvktrjVrf.</fo:block> </fo:list-item-body> </fo:list-item> </fo:list-block> </fo:inline> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
