[
https://issues.apache.org/jira/browse/FOP-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704087#comment-17704087
]
Dave Roxburgh commented on FOP-3100:
------------------------------------
Hi Martin, thanks for the report.
Unfortunately, your report is not self-contained.
You have attached print-chybova_hlaseni.xsl but you've not attached the XSL
that print-chybova_hlaseni.xsl imports - profile-docbook.xsl
The XSL currently being served out for
[http://docbook.sourceforge.net/release/xsl/current/fo/profile-docbook.xsl]
**today** is illegal XML. It contains the line:
<xsl:text><</xsl:text>
This causes FOP2.8 to fail with the error:
[Fatal Error] profile-docbook.xsl:1:1: Premature end of file.
... which is slightly different to the error you reported, suggesting that
perhaps profile-docbook.xsl has been changed since you posted your report?
As I'm not reproducing the error you reported, I'm going to suggest this report
is closed but feel free to re-open if it's still an issue. Please make your
report self-contained. The following may be useful:
[https://bz.apache.org/bugzilla/page.cgi?id=bug-writing.html]
> openinig xls file whit web dependency
> -------------------------------------
>
> Key: FOP-3100
> URL: https://issues.apache.org/jira/browse/FOP-3100
> Project: FOP
> Issue Type: Bug
> Components: unqualified
> Affects Versions: 2.7
> Environment: Kubuntu 22.04
> Netbeans 15
> Java 1.8.0_322 OpenJDK 64-Bit
> Reporter: Martin Pejchar
> Priority: Minor
> Attachments: print-chybova_hlaseni.xsl
>
>
> I was trying to modify XML2PDF example code to load custom xsl but loading
> crashed on lineĀ
> <xsl:import
> href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/profile-docbook.xsl"/>
> whit error
> [Fatal Error] :-1:-1: Premature end of file.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)