Skip to content

[BUG]: (module fj-doc-mode-fop) Support for Java 25 (Error reading event-model.xml: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.) #502

@fugerit79

Description

@fugerit79

Module

fj-doc-mod-fop - PDF, XSL-FO doc handler based on Apache FOP

Expected Behavior

Pdf Fop Renderer should work

Current Behavior

Exception : Error reading event-model.xml: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.

Is blocking?

yes, no work around exists

A work around exists?

Right now it only happens on java 25+

Steps to reproduces

If using sdkman :

sdk use java jdk-25-installation
mvn clean install

Is a proof of concept available

Here is a simple POC based on compatibility workflow :

https://github.com/fugerit-org/fj-doc/actions/runs/17891545589

For example line :

https://github.com/fugerit-org/fj-doc/actions/runs/17891545589/job/50872969888#step:4:29422

Context information

Tried local on macos / ubuntu 24, GitHub workflow for windows / ubuntu 24 / macos

Other information

The issue is linked on FOP issue https://issues.apache.org/jira/browse/FOP-3275

Proposed solution

Fix FOP issue https://issues.apache.org/jira/browse/FOP-3275

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions