You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bonekrusher <dj...@yahoo.com> on 2008/02/21 14:44:10 UTC
mismatch: table-cell vs. Table-row
Hi,
I am currently updating my xsl-fo to comply with FOP 0.94. I am receiving
this error:
WARNING: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format) vs.
table-row
(http://www.w3.org/1999/XSL/Format)
Feb 21, 2008 8:40:31 AM org.apache.fop.fo.FOTreeBuilder$MainFOHandler
endElement
What does this mean?
Also, the error doesnt list a line number. Is there a function to have line
numbers displayed where the error is found? My Fo has approx 25,000 lines...
this very difficult to troubleshoot without numbers.
Thanks for the help.
Bones
--
View this message in context: http://www.nabble.com/mismatch%3A-table-cell-vs.-Table-row-tp15611734p15611734.html
Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: mismatch: table-cell vs. Table-row
Posted by bonekrusher <dj...@yahoo.com>.
Thanks!
--
View this message in context: http://www.nabble.com/Re%3A-mismatch%3A-table-cell-vs.-Table-row-tp15614539p15618947.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: mismatch: table-cell vs. Table-row
Posted by bonekrusher <dj...@yahoo.com>.
Thanks!
Vincent Hennebert-3 wrote:
>
> Hi,
>
> (Moving to the fop-users@ mailing list which is better suitted for this
> kind of question.)
>
> bonekrusher wrote:
>> Hi,
>>
>> I am currently updating my xsl-fo to comply with FOP 0.94. I am receiving
>> this error:
>>
>> WARNING: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format) vs.
>> table-row
>> (http://www.w3.org/1999/XSL/Format)
>> Feb 21, 2008 8:40:31 AM org.apache.fop.fo.FOTreeBuilder$MainFOHandler
>> endElement
>>
>> What does this mean?
>>
>> Also, the error doesnt list a line number. Is there a function to have
>> line
>> numbers displayed where the error is found? My Fo has approx 25,000
>> lines...
>> this very difficult to troubleshoot without numbers.
>
> It’s probably because you are generating the output straight from the
> source XML file. If you run FOP on the FO file you should get line
> numbers.
> fop -xml source.xml -xsl stylesheet.xsl -foout out.fo
> then
> fop -fo out.fo -pdf out.pdf
>
>
> HTH,
> Vincent
>
>
> --
> Vincent Hennebert Anyware Technologies
> http://people.apache.org/~vhennebert http://www.anyware-tech.com
> Apache FOP Committer FOP Development/Consulting
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Re%3A-mismatch%3A-table-cell-vs.-Table-row-tp15614539p15617845.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: mismatch: table-cell vs. Table-row
Posted by Vincent Hennebert <vi...@anyware-tech.com>.
Hi,
(Moving to the fop-users@ mailing list which is better suitted for this
kind of question.)
bonekrusher wrote:
> Hi,
>
> I am currently updating my xsl-fo to comply with FOP 0.94. I am receiving
> this error:
>
> WARNING: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format) vs.
> table-row
> (http://www.w3.org/1999/XSL/Format)
> Feb 21, 2008 8:40:31 AM org.apache.fop.fo.FOTreeBuilder$MainFOHandler
> endElement
>
> What does this mean?
>
> Also, the error doesnt list a line number. Is there a function to have line
> numbers displayed where the error is found? My Fo has approx 25,000 lines...
> this very difficult to troubleshoot without numbers.
It’s probably because you are generating the output straight from the
source XML file. If you run FOP on the FO file you should get line
numbers.
fop -xml source.xml -xsl stylesheet.xsl -foout out.fo
then
fop -fo out.fo -pdf out.pdf
HTH,
Vincent
--
Vincent Hennebert Anyware Technologies
http://people.apache.org/~vhennebert http://www.anyware-tech.com
Apache FOP Committer FOP Development/Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: mismatch: table-cell vs. Table-row
Posted by Lo...@log-net.com.
I usually ran into this message when I had a row with no cells or a cell
with no content. For example, my original code had some of these:
<fo:table-cell/>
This is no good. I either removed the cell (but be careful you don't
leave an empty row) or changed the xsl to:
<fo:table-cell><fo:block/></fo:table-cell>
I also ran into a similar issue when I had a table body with no rows in it
due to an empty for loop.
-Lou
bonekrusher <dj...@yahoo.com> wrote on 02/21/2008 08:44:10 AM:
>
> Hi,
>
> I am currently updating my xsl-fo to comply with FOP 0.94. I am
receiving
> this error:
>
> WARNING: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format) vs.
> table-row
> (http://www.w3.org/1999/XSL/Format)
> Feb 21, 2008 8:40:31 AM org.apache.fop.fo.FOTreeBuilder$MainFOHandler
> endElement
>
> What does this mean?
>
> Also, the error doesnt list a line number. Is there a function to have
line
> numbers displayed where the error is found? My Fo has approx 25,000
lines...
> this very difficult to troubleshoot without numbers.
>
> Thanks for the help.
>
> Bones
>
> --
> View this message in context: http://www.nabble.com/mismatch%3A-
> table-cell-vs.-Table-row-tp15611734p15611734.html
> Sent from the FOP - Dev mailing list archive at Nabble.com.
>