This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch CAMEL-22114-fop-jdk25-workaround in repository https://gitbox.apache.org/repos/asf/camel.git
commit 599fdd8286dc8b330583da5c11b91715c36f861a Author: Claus Ibsen <[email protected]> AuthorDate: Thu Nov 26 17:28:15 2026 +0100 CAMEL-22114: camel-fop - remove the JDK 25 test workaround, as FOP 2.12 fixes FOP-3275 On JDK 25, FOP 2.11 failed with "FWK005 parse may not be called while parsing" when reading event-model.xml, so the tests used Saxon-HE on JDK 25+. FOP 2.12, which Camel uses, has the fix for FOP-3275, and the tests pass on JDK 25 without Saxon. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- components/camel-fop/pom.xml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/components/camel-fop/pom.xml b/components/camel-fop/pom.xml index b7c5e7fa7d91..919035c3baf5 100644 --- a/components/camel-fop/pom.xml +++ b/components/camel-fop/pom.xml @@ -83,22 +83,4 @@ </dependency> </dependencies> - - <profiles> - <!-- Workaround for FOP-3275: JDK 25+ has a re-entrant XML parsing bug that breaks Apache FOP --> - <profile> - <id>jdk25-fop-workaround</id> - <activation> - <jdk>[25,)</jdk> - </activation> - <dependencies> - <dependency> - <groupId>net.sf.saxon</groupId> - <artifactId>Saxon-HE</artifactId> - <version>${saxon-version}</version> - <scope>test</scope> - </dependency> - </dependencies> - </profile> - </profiles> </project>
