Hi Wouter, On Mon, May 10, 2010 at 21:56, Wouter Boasson <Wouter.Boasson@rivm.nl>wrote:
Hi,
I've got the following problem when exporting to PFD/RTF: exporting a full space as PDF/RTF, specifying the top-level space including the children ( http://localhost:8080/mywiki/bin/export/Sandbox/?format=pdf&includechilds=2), generates the following error:
Some extra information:
Error number 11015 in 11: Exception while exporting Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF Wrapped Exception: org.apache.fop.fo.ValidationException: "fo:list-block" is missing child elements. Required content model: marker* (list-item)+ (See position 320:90) com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while exporting Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF Wrapped Exception: org.apache.fop.fo.ValidationException: "fo:list-block" is missing child elements. Required content model: marker* (list-item)+ (See position 320:90) at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:67) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:214) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
It appears that this results from including the WebPreferences page, which is also a child. Exporting the WebPreferences page alone generates the same error. So I removed the parent link of the WebPreferences page (which is now orphaned), and then the export works perfectly well.
Two questions: 1-Is it possible to solve this bug? 2-Does it harm in any other way when I remove the parent link of a WebPreferences page? This would be a fine workaround if allowed.
Removing the parent is fine, besides making the navigation a bit more difficult it won't affect anything. Guillaume
Regards,
Wouter _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/