You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Andrew McIntyre (JIRA)" <ji...@apache.org> on 2007/05/05 02:32:15 UTC

[jira] Resolved: (DERBY-2473) Compilation of reference manual translated into pt_BR seems to be failed

     [ https://issues.apache.org/jira/browse/DERBY-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew McIntyre resolved DERBY-2473.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.3.0.0
         Assignee: Tomohito Nakayama

Hi Tomohito,

The patch looks correct and fixes the compilation error. I went ahead and committed the patch with revision 535421.

Looking at the XSL-FO generated by the DITA toolkit, it appears the problem is not with FOP being able to handle multiple column spanning cells, but that the DITA toolkit does not assign proper values to the column-number and number-columns-spanned attributes for the <fo:table-cell>s in the XSL-FO for the DITA <entry>s that span multiple columns. Even with your patch, the column numbers are still being generated incorrectly for many of the tables in the pt_BR reference manual, which is leading to a large number of warnings being printed when building the PDF for that manual. The tables in the pt_BR reference manual could be improved to have a form more consistent with what the DITA toolkit expects, but that can be handled with a different JIRA issue.

Thank you for looking into this and fixing it. 

> Compilation of reference manual translated into pt_BR seems to be failed
> ------------------------------------------------------------------------
>
>                 Key: DERBY-2473
>                 URL: https://issues.apache.org/jira/browse/DERBY-2473
>             Project: Derby
>          Issue Type: Bug
>          Components: Build tools
>         Environment: naka@rufelza:~/derby/dev.doc/trunk$ java -version
> java version "1.4.2_10"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
>            Reporter: Tomohito Nakayama
>         Assigned To: Tomohito Nakayama
>             Fix For: 10.3.0.0
>
>         Attachments: DERBY-2473.patch, refderby.fo
>
>
> I found next compilation error in my environment ....
> cd ~/derby/dev.doc/trunk/
> ant -emacs pt_BR
> Buildfile: build.xml
> <snip>
> BUILD FAILED
> /home/naka/derby/dev.doc.DERBY-2261/trunk/build.xml:330: The following error occurred while executing this line:
> /home/naka/derby/dev.doc.DERBY-2261/trunk/src/pt_BR/build.xml:101: The following error occurred while executing this line:
> /home/naka/derby/dev.doc.DERBY-2261/trunk/build.xml:231: The following error occurred while executing this line:
> /home/naka/derby/dev.doc.DERBY-2261/trunk/DITA-OT1.1.2.1/conductor.xml:209: The following error occurred while executing this line:
> /home/naka/derby/dev.doc.DERBY-2261/trunk/DITA-OT1.1.2.1/ditatargets.xml:78: javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: fo:table-cell overlaps in column 1 (line #5020, column #1399)
> I think problem caused around FOP .....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.