[jira] [Updated] (FOP-3069) Empty results in infinite loop when strict-validation is set to false
[ https://issues.apache.org/jira/browse/FOP-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Kainzbauer updated FOP-3069: Affects Version/s: 2.8 > Empty results in infinite loop when strict-validation is set > to false > - > > Key: FOP-3069 > URL: https://issues.apache.org/jira/browse/FOP-3069 > Project: FOP > Issue Type: Bug > Components: fo/unqualified >Affects Versions: 1.1, 2.0, 2.1, 2.2, 2.3, 2.4, 2.6, 2.7, 2.8 >Reporter: Michael Kainzbauer >Priority: Major > > +_Since Apache FOP 1.1 (not reproducible in 1.0)_+ > When disabling strict-validation, ApacheFOP will loop infinitely when a > is empty, e.g.: > As a result in class > {color:#57d9a3}org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElements(LayoutContext > context, int alignment);{color} > (line 111) > is called infinitely. > Yes, the XML-FO is incorrect and not according to the standard, but this is > an issue that can cause real trouble when the given conditions are met. > Turning on strict-validation will result in an error with a clear and > understandable error message: > {quote}{color:#57d9a3}{{Error on line 26 column 29 }}{color} > {color:#57d9a3}{{ SXCH0003 org.apache.fop.fo.ValidationException: > "fo:table-body" is missing child}}{color} > {color:#57d9a3}{{ elements. Required content model: marker* > (table-row+|table-cell+) (Siehe Position 26:29).}}{color} > {color:#57d9a3}{{ Caused by org.apache.fop.fo.ValidationException: > null:26:29: "fo:table-body" is missing}}{color} > {color:#57d9a3}{{ child elements. Required content model: marker* > (table-row+|table-cell+) (See position 26:29)}}{color} > {quote} > Example XML-FO: > {quote} > http://www.w3.org/1999/XSL/Format;> > > page-height="297mm"> > margin-top="10mm"/> > > > > > > page-position="any"/> > > > > > > > > > > > > > > > > > > > > > {quote} > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (FOP-3121) Table width may be too wide when layout width changes
[ https://issues.apache.org/jira/browse/FOP-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Steiner resolved FOP-3121. Fix Version/s: trunk Resolution: Fixed https://gitbox.apache.org/repos/asf?p=xmlgraphics-fop.git;a=commit;h=f4205e68b07a965481f326515ba33f08490ebc0a > Table width may be too wide when layout width changes > - > > Key: FOP-3121 > URL: https://issues.apache.org/jira/browse/FOP-3121 > Project: FOP > Issue Type: Bug >Reporter: Simon Steiner >Assignee: Simon Steiner >Priority: Major > Fix For: trunk > > Attachments: test.fo > > > fop test.fo out.pdf > Table border on 2nd page should have a even width -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (FOP-3121) Table width may be too wide when layout width changes
[ https://issues.apache.org/jira/browse/FOP-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Steiner updated FOP-3121: --- Description: fop test.fo out.pdf Table border on 2nd page should have a even width > Table width may be too wide when layout width changes > - > > Key: FOP-3121 > URL: https://issues.apache.org/jira/browse/FOP-3121 > Project: FOP > Issue Type: Bug >Reporter: Simon Steiner >Assignee: Simon Steiner >Priority: Major > Attachments: test.fo > > > fop test.fo out.pdf > Table border on 2nd page should have a even width -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (FOP-3121) Table width may be too wide when layout width changes
[ https://issues.apache.org/jira/browse/FOP-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Steiner updated FOP-3121: --- Attachment: test.fo > Table width may be too wide when layout width changes > - > > Key: FOP-3121 > URL: https://issues.apache.org/jira/browse/FOP-3121 > Project: FOP > Issue Type: Bug >Reporter: Simon Steiner >Assignee: Simon Steiner >Priority: Major > Attachments: test.fo > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (FOP-3121) Table width may be too wide when layout width changes
Simon Steiner created FOP-3121: -- Summary: Table width may be too wide when layout width changes Key: FOP-3121 URL: https://issues.apache.org/jira/browse/FOP-3121 Project: FOP Issue Type: Bug Reporter: Simon Steiner Assignee: Simon Steiner Attachments: test.fo -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (FOP-3120) IllegalArgumentException for list in a table
[ https://issues.apache.org/jira/browse/FOP-3120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Steiner resolved FOP-3120. Fix Version/s: trunk Resolution: Fixed https://gitbox.apache.org/repos/asf?p=xmlgraphics-fop.git;a=commit;h=2eb52494850ddcd44150e259829e7ed1cfaacf09 > IllegalArgumentException for list in a table > > > Key: FOP-3120 > URL: https://issues.apache.org/jira/browse/FOP-3120 > Project: FOP > Issue Type: Bug >Reporter: Simon Steiner >Assignee: Simon Steiner >Priority: Major > Fix For: trunk > > Attachments: test.fo > > > fop test.fo out.pdf > java.lang.IllegalArgumentException: Only non-null Positions with an index can > be checked > at > org.apache.fop.layoutmgr.AbstractLayoutManager.verifyNonNullPosition(AbstractLayoutManager.java:307) -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (FOP-3120) IllegalArgumentException for list in a table
[ https://issues.apache.org/jira/browse/FOP-3120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Steiner updated FOP-3120: --- Attachment: test.fo > IllegalArgumentException for list in a table > > > Key: FOP-3120 > URL: https://issues.apache.org/jira/browse/FOP-3120 > Project: FOP > Issue Type: Bug >Reporter: Simon Steiner >Assignee: Simon Steiner >Priority: Major > Attachments: test.fo > > > fop test.fo out.pdf > java.lang.IllegalArgumentException: Only non-null Positions with an index can > be checked > at > org.apache.fop.layoutmgr.AbstractLayoutManager.verifyNonNullPosition(AbstractLayoutManager.java:307) -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (FOP-3120) IllegalArgumentException for list in a table
[ https://issues.apache.org/jira/browse/FOP-3120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Steiner updated FOP-3120: --- Description: fop test.fo out.pdf java.lang.IllegalArgumentException: Only non-null Positions with an index can be checked at org.apache.fop.layoutmgr.AbstractLayoutManager.verifyNonNullPosition(AbstractLayoutManager.java:307) > IllegalArgumentException for list in a table > > > Key: FOP-3120 > URL: https://issues.apache.org/jira/browse/FOP-3120 > Project: FOP > Issue Type: Bug >Reporter: Simon Steiner >Assignee: Simon Steiner >Priority: Major > > fop test.fo out.pdf > java.lang.IllegalArgumentException: Only non-null Positions with an index can > be checked > at > org.apache.fop.layoutmgr.AbstractLayoutManager.verifyNonNullPosition(AbstractLayoutManager.java:307) -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (FOP-3120) IllegalArgumentException for list in a table
Simon Steiner created FOP-3120: -- Summary: IllegalArgumentException for list in a table Key: FOP-3120 URL: https://issues.apache.org/jira/browse/FOP-3120 Project: FOP Issue Type: Bug Reporter: Simon Steiner Assignee: Simon Steiner -- This message was sent by Atlassian Jira (v8.20.10#820010)