Skip to content

Commit 5b17025

Browse files
authored
Raise JAXP entity size limit for jing validation (#302)
1 parent aa9c6a2 commit 5b17025

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

configure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ function xml_validate_jing()
990990
$out = null;
991991
$ret = null;
992992
$schema = RNG_SCHEMA_FILE;
993-
$cmdJing = "java -jar {$srcdir}/docbook/jing.jar {$schema} {$idempath}";
993+
$cmdJing = "java -Djdk.xml.totalEntitySizeLimit=300000 -jar {$srcdir}/docbook/jing.jar {$schema} {$idempath}";
994994
exec( $cmdJing , $out , $ret );
995995

996996
if ( $ret == 0 )

0 commit comments

Comments
 (0)