Skip to content

Commit

Permalink
Extend expression size for check_reqattr
Browse files Browse the repository at this point in the history
Xalan does not limit the size of XPath expression used for templates,
but by default the JDK does have a limit. This can be overridden
explicity. Note that the override is not compatible with Xalan.
  • Loading branch information
iay committed Oct 4, 2024
1 parent 5cee5f8 commit ffd7ec7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mdx/validation-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,13 @@
check_reqattr
-->
<bean id="check_reqattr" parent="mda.XSLValidationStage"
p:XSLResource="classpath:_rules/check_reqattr.xsl"/>
p:XSLResource="classpath:_rules/check_reqattr.xsl">
<property name="transformAttributes">
<map>
<entry key="jdk.xml.xpathExprOpLimit" value="0"/>
</map>
</property>
</bean>

<!--
check_saml2int
Expand Down

0 comments on commit ffd7ec7

Please sign in to comment.