You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/01/22 16:37:00 UTC

[jira] [Closed] (DOXIA-594) Problem while validating generated .fo: fo:block is not a valid child of fo:list-block

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

Michael Osipov closed DOXIA-594.
--------------------------------
    Resolution: Fixed

This module has been removed in 2.0.0-M1.

> Problem while validating generated .fo: fo:block is not a valid child of fo:list-block
> --------------------------------------------------------------------------------------
>
>                 Key: DOXIA-594
>                 URL: https://issues.apache.org/jira/browse/DOXIA-594
>             Project: Maven Doxia
>          Issue Type: Improvement
>          Components: Module - FO
>    Affects Versions: 1.9
>            Reporter: Sylwester Lachiewicz
>            Priority: Minor
>         Attachments: maven-pdf-plugin.fo, mvn-pdf-fo-snip.txt
>
>
> I have got validation error while generating PDF in maven-pdf plugin using command `mvn -Ppdf`
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pdf-plugin:1.5.0-SNAPSHOT:pdf (default-cli) on project maven-pdf-plugin: Error during document generation: Error creating PDF from maven-pdf-plugin\target\pdf\maven-pdf-plugin.fo: org.apache.fop.fo.ValidationException: file:/maven-pdf-plugin/target/pdf/maven-pdf-plugin.fo:7709:13: "fo:block" is not a valid child of "fo:list-block"! (See position 7709:13) -> [Help 1]{code}
> Problematic generated block:
> {code:xml}
> <fo:list-block start-indent="inherited-property-value(start-indent)" space-before.optimum="10pt" provisional-distance-between-starts="1em" provisional-label-separation="1em">org.apache.maven.plugins:maven-pdf-plugin:maven-plugin:1.5.0-SNAPSHOT
> <fo:block />\-&#160;org.apache.maven.reporting:maven-reporting-impl:jar:2.3:compile
> <fo:block />&#160;&#160;&#160;\-&#160;commons-validator:commons-validator:jar:1.3.1:compile
> <fo:block />&#160;&#160;&#160;&#160;&#160;&#160;\-&#160;commons-digester:commons-digester:jar:1.6:compile
> <fo:block />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;\-&#160;(commons-beanutils:commons-beanutils:jar:1.6:compile - omitted for conflict with 1.7.0)
> <fo:block />
> <fo:block /></fo:list-block>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)