Fatal error during transformation: XPath expression containing '101' operators that exceeds the '100' limit set

Post here questions and problems related to editing and publishing DITA content.
dreeves
Posts: 1
Joined: Fri Jun 06, 2025 8:50 pm

Fatal error during transformation: XPath expression containing '101' operators that exceeds the '100' limit set

Post by dreeves »

Hello,

When running one of my transforms, I get the following error:

JAXP0801002: the compiler encountered an XPath expression containing '101' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.

This error was introduced when I upgraded from Oxygen XML Editor 24.1 to 26.1. It seems that this error comes from new FEATURE_SECURE_PROCESSING, which Oracle introduced in a recent update of their Java.

jdk.xml.xpathExprOpLimit Description: Limits the number of operators an XPath expression can contain. Default 100.

See: https://www.oracle.com/java/technologie ... notes.html

To fix the issue I need to add an argument like the following, but I do not know where to add it:

-Djdk.xml.xpathExprGrpLimit=0 -Djdk.xml.xpathExprOpLimit=0 -Djdk.xml.xpathTotalOpLimit=0 -

Has anyone else experienced this issue and do they know a solution?

Thank you,

D. Scott Reeves