From: SourceForge.net <no...@so...> - 2006-05-01 06:57:34
|
Bugs item #1472393, was opened at 2006-04-18 08:16 Message generated for change (Comment added) made by bobstayton You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1472393&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: print/FO/PDF >Status: Pending >Resolution: Fixed Priority: 5 Submitted By: Elliotte Rusty Harold (elharo) >Assigned to: Robert Stayton (bobstayton) Summary: fo:table-body missing from HTML informatable to FO Initial Comment: When faced with an informal (and possibly formal) HTML table such as this one: <informaltable><thead><tr> <th>Operator</th> <th>Purpose</th> </tr></thead><tr> <td><code>++</code></td> <td>increment by one</td> </tr><tr> <td><code>--</code></td> <td>decrement by one</td> </tr><tr> <td><code>></code></td> <td>greater than</td> </tr><tr> <td><code>>=</code></td> <td>greater than or equal to</td> </tr></informaltable> the stylesheets do not generate the correct fo:table-body element wrapping the fo:table-row elements. This causes problems at least with FOP: ~/projects/workspace/cs905$ /opt/xml/fop/fop -fo tabletest.fo -pdf tabletest.pdfWarning(10/436): fo:table-header, In the separate border model (border-collapse="separate"), borders cannot be specified on a fo:table-header, but a non-zero value for border was found. The border will be ignored. Exception javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: file:///Users/elharo/Projects/workspace/CS905/tabletest.fo:13:48: Error(13/48): fo:table-row is not a valid child element of fo:table. I will attach sample input and fo output that demonstrate the problem. ---------------------------------------------------------------------- Comment By: Robert Stayton (bobstayton) Date: 2006-04-30 23:57 Message: Logged In: YES user_id=193218 A fix for this issue has been added to the current codebase. Please test the fix with the latest snapshot from: http://docbook.sourceforge.net/snapshots/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1472393&group_id=21935 |