Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions configure.php
Comment thread
alfsb marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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" );
Expand Down Expand Up @@ -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 ) );
Expand Down
Loading