Andy wrote:
>>> Caused by: org.apache.maven.plugin.MojoExecutionException: Error during
>>> document generation: Error creating PDF from
>>> /home/andy/work/datanucleus/documentation/m2_accessplatform/target/pdf/mav
>>> en- pdf-plugin.fo: org.apache.fop.fo.ValidationException:
>>> file:/home/andy/work/datanucleus/documentation/m2_accessplatform/target/pd
>>> f/maven- pdf-plugin.fo:28264:175: Error(28264/175): fo:list-block is not a
>>> valid child element of fo:list-block.
>>
>> Did you look at the maven-pdf-plugin.fo file under target/pdf/ to see
>> what the fo file looks like? Seems like you ran into a bug, but I
>> don't know enough to say what caused it. If the fo file is wrong, then
>> either your original file has issues or whatever translated the
>> original into this fo file would seem to have an issue.
> 
> Well I looked at it, but then since I'm not familiar with this FO format 
> wouldn't know what is wrong with it. Since all XDOC files validated, then I'd 
> assume the original file has no issue. Either way I have it in a separate 
> project and is 100% reproduceable. Raised it as 
> https://jira.codehaus.org/browse/MPDF-57

How did you validate the xdocs? When I run 'mvn -Dvalidate=true
site:site' on the project you attached at MPDF-57 I get stuck
immediately with basic validation errors (no schema definition). See
http://maven.apache.org/plugins/maven-site-plugin/faq.html#Can_I_validate_xml

HTH,
-Lukas


> 
> 
> 
> Thanks for your reply.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to