Skip to content

Commit 27ac577

Browse files
author
André L F S Bacci
committed
Correct file/line/column on error messages
1 parent e939376 commit 27ac577

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

configure.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -787,8 +787,11 @@ function dom_saveload( DOMDocument $dom , string $filename )
787787
errors_are_bad(1);
788788
}
789789
else
790+
{
791+
// So that file/line/column makes sense on error messages
792+
dom_saveload( $dom , __DIR__ . "/temp/manual.xml" );
790793
echo "done.\n";
791-
794+
}
792795

793796
echo "Running XInclude/XPointer... ";
794797

@@ -862,8 +865,6 @@ function xinclude_run_xpointer( DOMDocument $dom ) : int
862865
echo "$run ";
863866
$status = (int) $dom->xinclude();
864867

865-
xinclude_report(); die(x);
866-
867868
if ( $status <= 0 )
868869
{
869870
return $total;

0 commit comments

Comments
 (0)