jelovirt / pdf-generator

DITA-OT PDF plug-in generator
https://dita-generator.elovirta.com/
Apache License 2.0
12 stars 5 forks source link

PDF builds fail looking for `toc-attr_fop.xsl` #99

Closed infotexture closed 1 year ago

infotexture commented 1 year ago

When building DITA-OT docs PDF output with dita-ot/dita-ot@547228c & jelovirt/pdf-generator@5072768, builds fail with the following error:

Execution failed for task ':pdf'.
> The following error occurred while executing this line:
  /path/to/dita-ot/src/main/plugins/org.dita.base/build.xml:28: 
  The following error occurred while executing this line:
  /path/to/dita-ot/src/main/plugins/org.dita.pdf2/build.xml:148: 
  The following error occurred while executing this line:
  /path/to/dita-ot/src/main/plugins/org.dita.pdf2/build.xml:280: 
  java.lang.RuntimeException: Failed to compile stylesheet 
  'file:/var/folders/69/rpqvkjhs497c8kny2ksfjh4c0000gn/T/dita-ot/
  1683391177534/com.elovirta.pdf-1712600268/xsl/fo/topic2fo_shell.xsl': 
  I/O error reported by XML parser processing file:
  /path/to/dita-ot/src/main/plugins/org.dita.pdf2.fop/cfg/fo/attrs/toc-attr_fop.xsl:
  /path/to/dita-ot/src/main/plugins/org.dita.pdf2.fop/cfg/fo/attrs/toc-attr_fop.xsl 
  (No such file or directory)

See following lines for references:

infotexture commented 1 year ago

Closing as invalid, can't reproduce with latest code.