diff --git a/configure.php b/configure.php index c32723fa58..c98379427f 100755 --- a/configure.php +++ b/configure.php @@ -679,9 +679,8 @@ function dom_saveload( DOMDocument $dom , string $filename = "" ) : string if ( dom_load( $dom , "{$ac['srcdir']}/{$ac["INPUT_FILENAME"]}" ) ) { - echo "1 "; dom_saveload( $dom ); // correct file/line/column on error messages - echo "2 done.\n"; + echo " done.\n"; } else { @@ -723,11 +722,12 @@ function individual_xml_broken_check() function xinclude_run_byid( DOMDocument $dom ) { + // libxml does not implements the XInclude 1.1 spec, + // so we need to simulate its *recursive* nature here. $total = 0; $maxrun = 10; //LIBXML_VERSION >= 21100 ? 1 : 10; for( $run = 0 ; $run < $maxrun ; $run++ ) { - echo "$run "; $xpath = new DOMXPath( $dom ); $xpath->registerNamespace( "xi" , "http://www.w3.org/2001/XInclude" ); $xincludes = $xpath->query( "//xi:include" ); @@ -779,7 +779,6 @@ function xinclude_run_xpointer( DOMDocument $dom ) : int $total = 0; for( $run = 0 ; $run < 10 ; $run++ ) { - echo "$run "; libxml_clear_errors(); $was = count( xinclude_residual_list( $dom ) );