You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (JIRA)" <ji...@apache.org> on 2019/05/30 11:26:00 UTC

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

Sylwester Lachiewicz created DOXIA-594:
------------------------------------------

             Summary: 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


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
(v7.6.3#76005)