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.
-
- 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
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
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
-
- Posts: 85
- Joined: Wed Aug 30, 2017 3:56 pm
Re: Fatal error during transformation: XPath expression containing '101' operators that exceeds the '100' limit set
Hello Scott,
Please try the procedure described below to overcome that Java security limitation that's been enforced starting with newer JDK versions.
Locate the file "oxygen.vmoptions". It is usually located in the Oxygen installation folder.
Open it in a text editor and add the lines below:
Then restart oXygen.
Setting these to 0 disables the limits, which is fine in a trusted environment.
If you're concerned about security, you can increase the limits instead of disabling them entirely:
Best regards,
Teo
Please try the procedure described below to overcome that Java security limitation that's been enforced starting with newer JDK versions.
Locate the file "oxygen.vmoptions". It is usually located in the Oxygen installation folder.
Open it in a text editor and add the lines below:
Code: Select all
-Djdk.xml.xpathExprOpLimit=0
-Djdk.xml.xpathExprGrpLimit=0
-Djdk.xml.xpathTotalOpLimit=0
Setting these to 0 disables the limits, which is fine in a trusted environment.
If you're concerned about security, you can increase the limits instead of disabling them entirely:
Code: Select all
-Djdk.xml.xpathExprOpLimit=1000
-Djdk.xml.xpathExprGrpLimit=100
-Djdk.xml.xpathTotalOpLimit=2000
Teo
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service