Skip to content

Commit d403944

Browse files
Remove confusing run numbers (#286)
1 parent 0eb3611 commit d403944

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

configure.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -667,9 +667,8 @@ function dom_saveload( DOMDocument $dom , string $filename = "" ) : string
667667

668668
if ( dom_load( $dom , "{$ac['srcdir']}/{$ac["INPUT_FILENAME"]}" ) )
669669
{
670-
echo "1 ";
671670
dom_saveload( $dom ); // correct file/line/column on error messages
672-
echo "2 done.\n";
671+
echo " done.\n";
673672
}
674673
else
675674
{
@@ -711,11 +710,12 @@ function individual_xml_broken_check()
711710

712711
function xinclude_run_byid( DOMDocument $dom )
713712
{
713+
// libxml does not implements the XInclude 1.1 spec,
714+
// so we need to simulate its *recursive* nature here.
714715
$total = 0;
715716
$maxrun = 10; //LIBXML_VERSION >= 21100 ? 1 : 10;
716717
for( $run = 0 ; $run < $maxrun ; $run++ )
717718
{
718-
echo "$run ";
719719
$xpath = new DOMXPath( $dom );
720720
$xpath->registerNamespace( "xi" , "http://www.w3.org/2001/XInclude" );
721721
$xincludes = $xpath->query( "//xi:include" );
@@ -767,7 +767,6 @@ function xinclude_run_xpointer( DOMDocument $dom ) : int
767767
$total = 0;
768768
for( $run = 0 ; $run < 10 ; $run++ )
769769
{
770-
echo "$run ";
771770
libxml_clear_errors();
772771

773772
$was = count( xinclude_residual_list( $dom ) );

0 commit comments

Comments
 (0)