You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Vincent Hennebert <vi...@anyware-tech.com> on 2008/02/21 16:54:38 UTC

Re: mismatch: table-cell vs. Table-row

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 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