[ https://jira.codehaus.org/browse/MPDF-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=302795#comment-302795 ]
Data Nucleus commented on MPDF-57: ---------------------------------- Well validation is certainly performed on *some* files, since when I ran Maven3 "site" and "pdf:pdf" on a straight copy of a Maven1 project it whined about missing schema definition on *some* of the files. This then gives the user the *impression* that validation is being run, hence why I thought that. Thanks for the link for how to turn on *full* validation. > 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