Skip to content

[BUG]: [fj-mod-doc-fop] error if a element <phrase> is inside a <cell> #426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fugerit79 opened this issue Apr 29, 2025 · 0 comments · Fixed by #427
Closed

[BUG]: [fj-mod-doc-fop] error if a element <phrase> is inside a <cell> #426

fugerit79 opened this issue Apr 29, 2025 · 0 comments · Fixed by #427
Assignees
Labels
bug Something isn't working

Comments

@fugerit79
Copy link
Member

fugerit79 commented Apr 29, 2025

Module

fj-doc-mod-fop - PDF, XSL-FO doc handler based on Apache FOP

Expected Behavior

correcly render table

Current Behavior

get error "fo:inline" is not a valid child of "fo:table-cell"! (See position 86:39)

Is blocking?

yes, but a workaround mitigating it exists

A work around exists?

Use instead of if possible

Steps to reproduces

Here is a sample code :

            <row>
                <cell><phrase>${current.data}</phrase></cell>
            </row>

Is a proof of concept available

Here is a simple POC f897dbc

Context information

No response

Other information

No response

Proposed solution

Wrap a phrase inside a fo:block

@fugerit79 fugerit79 added the bug Something isn't working label Apr 29, 2025
@fugerit79 fugerit79 self-assigned this Apr 29, 2025
mttfranci pushed a commit that referenced this issue Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant