You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2005/03/23 20:49:45 UTC
[jira] Commented: (MPPDF-30) The first row of table is not rendered
[ http://jira.codehaus.org/browse/MPPDF-30?page=comments#action_31289 ]
Lukas Theussl commented on MPPDF-30:
------------------------------------
You are not missing something, the same issue affects the pdf version of the maven documentation (http://maven.apache.org/maven.pdf): every table is missing its first row! (check for instance p12 of maven.pdf).
I tracked down the problem to line 206 of fo-tables.xslt:
<xsl:apply-templates select="tr[position()!=1][count(*)!=count(th)]">
and resolved it by removing the "[position()!=1]" part:
<xsl:apply-templates select="tr[count(*)!=count(th)]">
Now my tables show up correctly in the pdf output. However, I don't know what the purpose of that test was and if I am not breaking something else by removing it.
> The first row of table is not rendered
> --------------------------------------
>
> Key: MPPDF-30
> URL: http://jira.codehaus.org/browse/MPPDF-30
> Project: maven-pdf-plugin
> Type: Bug
> Versions: 2.2
> Environment: maven-pdf-plugin-2.2.1
> Reporter: Cservenak, Tamas
> Assignee: Arnaud HERITIER
>
>
> I'm not sure is this FOP or maven-pdf issue... sory for bothering if this is not the right place...
> In XDOC defined tables like:
> <table>
> <tr><td>Quote:</td></tr>
> <tr>
> <td>
> There's a common misconception that stateless session beans cannot hold state. They are stateless because they do not hold state between method invocations <i>on behalf of any single client</i>. They are free to maintain internal state - for example, to cache
> resources and data used on behalf of <i>all</i> the clients they serve.
> </td>
> </tr>
> <tr><td>
> <i><b>Rod Johnson</b>, J2EE Design and Development, Wroxbooks</i>
> </td></tr>
> </table>
> the first row (the "Quote") is not rendered. This applies to all tables Am i missing something?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org