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: 2
- 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: 86
- 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
-
- Posts: 2
- Joined: Fri Jun 06, 2025 8:50 pm
Re: Fatal error during transformation: XPath expression containing '101' operators that exceeds the '100' limit set
Thanks so much for replying, Teo!
I tried updated the following files with the following lines, rebooted and reopened oXygen, but I am still getting the same '101' operators limit error when I run my transformation:
C:\Program Files\Oxygen XML Editor 26\oxygen26.1.vmoptions
C:\Program Files\Oxygen XML Editor 26\oxygenAuthor26.1.vmoptions
C:\Program Files\Oxygen XML Editor 26\oxygenDeveloper26.1.vmoptions
I also tried with limits other than 0 to see if that would resolve the error:
Is there possibly another .vmoptions file that I need to update or a Java complier file that needs updating?
Thanks again,
D. Scott Reeves
I tried updated the following files with the following lines, rebooted and reopened oXygen, but I am still getting the same '101' operators limit error when I run my transformation:
C:\Program Files\Oxygen XML Editor 26\oxygen26.1.vmoptions
C:\Program Files\Oxygen XML Editor 26\oxygenAuthor26.1.vmoptions
C:\Program Files\Oxygen XML Editor 26\oxygenDeveloper26.1.vmoptions
Code: Select all
-Djdk.xml.xpathExprOpLimit=0
-Djdk.xml.xpathExprGrpLimit=0
-Djdk.xml.xpathTotalOpLimit=0
Code: Select all
-Djdk.xml.xpathExprOpLimit=10000
-Djdk.xml.xpathExprGrpLimit=1000
-Djdk.xml.xpathTotalOpLimit=20000
Thanks again,
D. Scott Reeves
-
- Posts: 2889
- Joined: Tue May 17, 2005 4:01 pm
Re: Fatal error during transformation: XPath expression containing '101' operators that exceeds the '100' limit set
Hi,
What kind of transformation are you running (XSLT, ANT, DITA)?
If the transformation is of type ANT, DITA-OT (or some other type that starts a java process), it's for that transformation scenario that you have to add the Java VM arguments (Edit the scenario, Advanced tab, JVM arguments).
If it's an XML/XSLT transformation (within Oxygen's Java process) then the .vmoptions is the way to go. I would have suggested to create custom_commons.vmoptions instead of the individual versioned .vmoptions, but that works just as well.
If you changed these, restart Oxygen and check if the properties got set in Help > About, System properties.
Regards,
Adrian
What kind of transformation are you running (XSLT, ANT, DITA)?
If the transformation is of type ANT, DITA-OT (or some other type that starts a java process), it's for that transformation scenario that you have to add the Java VM arguments (Edit the scenario, Advanced tab, JVM arguments).
If it's an XML/XSLT transformation (within Oxygen's Java process) then the .vmoptions is the way to go. I would have suggested to create custom_commons.vmoptions instead of the individual versioned .vmoptions, but that works just as well.
If you changed these, restart Oxygen and check if the properties got set in Help > About, System properties.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Fri Jun 06, 2025 8:50 pm
Re: Fatal error during transformation: XPath expression containing '101' operators that exceeds the '100' limit set
Thanks replying, Adrian!
It is an ANT transformation. I currently have the following arguments in the JVM Arguments field of the transformation:
When I add the additional arguments, like the example below, I get a new fatal error that I have never experienced before:
Is my syntax incorrect in the JVM Arguments field or do I need to add another argument to fix the new error?
Thanks again,
D. Scott Reeves
It is an ANT transformation. I currently have the following arguments in the JVM Arguments field of the transformation:
Code: Select all
-Xmx512m -Dxml.catalog.files=${xmlCatalogFilesList}
Code: Select all
-Xmx512m -Dxml.catalog.files=${xmlCatalogFilesList} -Djdk.xml.xpathExprOpLimit=10000 -Djdk.xml.xpathExprGrpLimit=1000 -Djdk.xml.xpathTotalOpLimit=20000
Code: Select all
System ID: C:\Availity\repositories\clp-content\source\portal_providers\release_communication\2025_07\_topics\c_aa_availity_essentials_transactions_payers.dita
Scenario: Create EDI/B2B release topics
Build file: C:\Availity\repositories\clp-content\build_resources\release_comm_edi_b2b_build.xml
Engine name: ANT
Severity: fatal
Description: Transformation failed. Fatal error during transformation using C:\Availity\repositories\clp-content\build_resources\create_edi_b2b_release_comm_topics.xsl: Error checking type of the expression 'FilterParentPath(variable-ref(raw_items/result-tree), step("descendant-or-self", 1))'.
Is my syntax incorrect in the JVM Arguments field or do I need to add another argument to fix the new error?
Thanks again,
D. Scott Reeves
Last edited by dreeves on Thu Jul 03, 2025 6:11 pm, edited 2 times in total.
-
- Posts: 2889
- Joined: Tue May 17, 2005 4:01 pm
Re: Fatal error during transformation: XPath expression containing '101' operators that exceeds the '100' limit set
Hi,
The syntax is correct. If the error message changed, you're probably on to the next issue.
Regards,
Adrian
The syntax is correct. If the error message changed, you're probably on to the next issue.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
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