[jira] [Commented] (FOP-2439) Using number-rows-spanned results in a ValidationException

2015-01-13 Thread Thanasis Giannimaras (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14274973#comment-14274973
 ] 

Thanasis Giannimaras commented on FOP-2439:
---

I may be wrong but I think even in the second example you have the same issue. 
In the second  row there are 2 cells ( the first cell in the table that spans 
two rows and  and one empty cell). If you add another fo :table- colum element 
or you comment them out entirely,  you do not get an error (at least with 
fop-trunk). 
Thanasis

 Using number-rows-spanned results in a ValidationException
 --

 Key: FOP-2439
 URL: https://issues.apache.org/jira/browse/FOP-2439
 Project: Fop
  Issue Type: Bug
  Components: renderer/pdf
Affects Versions: 1.1
 Environment: Windows 8.1
Reporter: nick.heyworth
Priority: Critical
 Attachments: Possible FOP Bug Modified.fo, Possible FOP Bug.fo


 The attached file results in a ValidationException when attempting to create 
 PDF. After changing the value of the number-rows-spanned attribute to 1, PDF 
 creation works.
 In case my FO is incorrect, please let me know.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


RE: [jira] [Commented] (FOP-2439) Using number-rows-spanned results in a ValidationException

2015-01-13 Thread A Gian
I may be wrong but I think even in the second example you have the same issue. 
In the second  row there are 2 cells ( the first cell in the table that spans 
two rows and  and one empty cell). If you add another fo :table- colum element 
or you comment them out entirely,  you do not get an error (at least with 
fop-trunk). Thanasis

 Date: Mon, 12 Jan 2015 09:58:34 +
 From: j...@apache.org
 To: fop-dev@xmlgraphics.apache.org
 Subject: [jira] [Commented] (FOP-2439) Using number-rows-spanned results in a 
 ValidationException
 
 
 [ 
 https://issues.apache.org/jira/browse/FOP-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14273451#comment-14273451
  ] 
 
 nick.heyworth commented on FOP-2439:
 
 
 True, but please see the modified example code. In my understanding, this 
 should be a 1x3 matrix, and the error still occurs.
 
  Using number-rows-spanned results in a ValidationException
  --
 
  Key: FOP-2439
  URL: https://issues.apache.org/jira/browse/FOP-2439
  Project: Fop
   Issue Type: Bug
   Components: renderer/pdf
 Affects Versions: 1.1
  Environment: Windows 8.1
 Reporter: nick.heyworth
 Priority: Critical
  Attachments: Possible FOP Bug Modified.fo, Possible FOP Bug.fo
 
 
  The attached file results in a ValidationException when attempting to 
  create PDF. After changing the value of the number-rows-spanned attribute 
  to 1, PDF creation works.
  In case my FO is incorrect, please let me know.
 
 
 
 --
 This message was sent by Atlassian JIRA
 (v6.3.4#6332)
  

[jira] [Commented] (FOP-2439) Using number-rows-spanned results in a ValidationException

2015-01-13 Thread nick.heyworth (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14274985#comment-14274985
 ] 

nick.heyworth commented on FOP-2439:


Yes, you are right. I originally had empty an fo:table-row element in the 
second row (to represent the cell covered by the rowspan), but FO validation 
doesn't accept empty fo:table-row elements. That's why I added a fo:table-cell 
to the second row. However, as you say, then I have two columns instead of one. 
So it seems FO just doesn't support what I'm trying to do. Not FOP's bug then. 
Thanks for the clarification!

 Using number-rows-spanned results in a ValidationException
 --

 Key: FOP-2439
 URL: https://issues.apache.org/jira/browse/FOP-2439
 Project: Fop
  Issue Type: Bug
  Components: renderer/pdf
Affects Versions: 1.1
 Environment: Windows 8.1
Reporter: nick.heyworth
Priority: Critical
 Attachments: Possible FOP Bug Modified.fo, Possible FOP Bug.fo


 The attached file results in a ValidationException when attempting to create 
 PDF. After changing the value of the number-rows-spanned attribute to 1, PDF 
 creation works.
 In case my FO is incorrect, please let me know.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2439) Using number-rows-spanned results in a ValidationException

2015-01-13 Thread Pascal Sancho (JIRA)

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

Pascal Sancho closed FOP-2439.
--
Resolution: Invalid

Hi,
{quote}
So it seems FO just doesn't support what I'm trying to do
{quote}
Yes, indeed, fo:table-row must contain at least 1 fo:table-cell (see REC FO1.1 
[1]).

And, as Thanasis Giannimaras said, the 2nd test case still lakes 1 table-column.

[1] http://www.w3.org/TR/xsl/#fo_table-row


 Using number-rows-spanned results in a ValidationException
 --

 Key: FOP-2439
 URL: https://issues.apache.org/jira/browse/FOP-2439
 Project: Fop
  Issue Type: Bug
  Components: renderer/pdf
Affects Versions: 1.1
 Environment: Windows 8.1
Reporter: nick.heyworth
Priority: Critical
 Attachments: Possible FOP Bug Modified.fo, Possible FOP Bug.fo


 The attached file results in a ValidationException when attempting to create 
 PDF. After changing the value of the number-rows-spanned attribute to 1, PDF 
 creation works.
 In case my FO is incorrect, please let me know.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)