[
https://jira.codehaus.org/browse/MPDF-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Data Nucleus closed MPDF-57.
----------------------------
Resolution: Not A Bug
Seemingly when it parses the XDOC files it actually doesn't bother validating
many of them, and if one has a missing "<li>" before a nested "<ul>" then it
causes this. I can fix that in my project and push it further. Obviously would
have been better had the site/PDF plugin or Doxia validated the input in the
first place so users wouldn't have some obscure message, and instead just have
a validation error at some line in their original XDOC file. Thanks
> PDF plugin creates FO file that results in "fo:list-block is not a valid
> child element of fo:list-block"
> --------------------------------------------------------------------------------------------------------
>
> Key: MPDF-57
> URL: https://jira.codehaus.org/browse/MPDF-57
> Project: Maven 2.x PDF Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Maven 3.0.3, Linux kernel 3.3.6
> Reporter: Data Nucleus
> Attachments: m2_pdf_plugin_proj.zip
>
>
> The attached project (an attempt to move to using Maven3 for site/pdf,
> currently using Maven1) causes
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-pdf-plugin:1.1:pdf (default-cli) on project
> datanucleus-site: Error during document generation: Error creating PDF from
> /home/andy/work/datanucleus/documentation/m2_accessplatform/target/pdf/maven-pdf-plugin.fo:
> org.apache.fop.fo.ValidationException:
> file:/home/andy/work/datanucleus/documentation/m2_accessplatform/target/pdf/maven-pdf-plugin.fo:28264:175:
> Error(28264/175): fo:list-block is not a valid child element of
> fo:list-block. -> [Help 1]
> The attached project when you run "mvn clean pdf:pdf" 100% reliably generates
> the above error. The input docs are all XDOC format. They seem to be
> parsed/validated ok, so am assuming there is no problem with the content (or
> maybe there is, but I'm not familiar with FO format to be able to spot it).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira