Error when generating PDF via XSL-FO
To reproduce:
- Select a document like https://teipublisher.com/exist/apps/vangogh/let001.xml
- Select Download > PDF (FO Version) to trigger a call to a URL like https://teipublisher.com/exist/apps/vangogh/let001.xml.pdf?odd=vangogh.odd&cache=no&token=1241408147543736
Result:
An error has occurred
An error has been generated by the application.
exerr:ERROR "fo:footnote" is not a valid child of "fo:block"! (See fo:block, "Theo attended secondary school i...") [at line 33, column 5]
In function:
local:fop(xs:string, xs:string?, element()) [112:37:/db/apps/vangogh/modules/lib/pdf.xql]