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 bu...@apache.org on 2009/01/20 12:45:10 UTC

DO NOT REPLY [Bug 46567] New: FOP throws a validation exception when an fo:table-row contains a marker as its first child

https://issues.apache.org/bugzilla/show_bug.cgi?id=46567

           Summary: FOP throws a validation exception when an fo:table-row
                    contains a marker as its first child
           Product: Fop
           Version: all
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: fo tree
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: vhennebert@gmail.com


Created an attachment (id=23142)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23142)
Test file showing the problem

XSL-FO 1.1 explicitly states [1] that an fo:table-row may have zero or more
fo:marker elements as its initial children, yet FOP throws a validation
exception in such a situation:
org.apache.fop.fo.ValidationException:
"{http://www.w3.org/1999/XSL/Format}marker" is not a valid child of
"fo:table-row"! (See position 23:60)


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


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 46567] FOP throws a validation exception when an fo:table-row contains a marker as its first child

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46567


Andreas L. Delmelle <ad...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23144|0                           |1
        is obsolete|                            |




--- Comment #2 from Andreas L. Delmelle <ad...@apache.org>  2009-01-20 11:02:44 PST ---
Created an attachment (id=23145)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23145)
correction

too fast with the first one...


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 46567] FOP throws a validation exception when an fo:table-row contains a marker as its first child

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46567





--- Comment #1 from Andreas L. Delmelle <ad...@apache.org>  2009-01-20 10:58:16 PST ---
Created an attachment (id=23144)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23144)
proposed fix


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 46567] FOP throws a validation exception when an fo:table-row contains a marker as its first child

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46567





--- Comment #3 from Andreas L. Delmelle <ad...@apache.org>  2009-01-20 11:19:00 PST ---
Note: could maybe even be simplified, since the "markers as initial children"
constraint is covered by FObj.addMarker()


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 46567] FOP throws a validation exception when an fo:table-row contains a marker as its first child

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46567

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #5 from Glenn Adams <gl...@skynav.com> 2012-04-01 07:08:07 UTC ---
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 46567] FOP throws a validation exception when an fo:table-row contains a marker as its first child

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46567


Andreas L. Delmelle <ad...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Andreas L. Delmelle <ad...@apache.org>  2009-01-22 14:01:50 PST ---

Fix committed. See: r736813 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=736813 )
Note: although FObj.addMarker() also checks for possible preceding nodes,
followed the same approach as the other table objects. Makes sense to bail out
early here. Added the testcase to the FO tree tests for the moment. Haven't
checked whether the marker is processed, yet. Last I recall, this was not yet
implemented, and the markers are ignored during layout.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 46567] FOP throws a validation exception when an fo:table-row contains a marker as its first child

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46567


Andreas L. Delmelle <ad...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         OS/Version|Linux                       |All
           Platform|PC                          |All




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.