Skip to content

Commit f71f023

Browse files
author
André L F S Bacci
committed
XInclude by xml:id
1 parent fbd3ee3 commit f71f023

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

configure.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ function getFileModificationHistory(): array {
774774
}
775775
echo "done.\n";
776776

777-
echo "Running XInclude... ";
777+
echo "Running XInclude/XPointer... ";
778778

779779
$total = xinclude_run_byid( $dom );
780780
$total += xinclude_run_xpointer( $dom );
@@ -905,7 +905,7 @@ function xinclude_residual( DOMDocument $dom )
905905
// $fixup = "<varlistentry><term>></term><listitem><simpara></simpara></listitem></varlistentry>";
906906
// break;
907907
default:
908-
echo "Unknown parent element of failed XInclude: $tagName\n";
908+
echo "Unknown parent of failed XInclude: $tagName\n";
909909
$explain = true;
910910
continue 2;
911911
}
@@ -932,8 +932,8 @@ function xinclude_residual( DOMDocument $dom )
932932
}
933933

934934
// XInclude by xml:id never duplicates xml:id, horever, also using
935-
// XInclude by XPath/XPointer may start causing duplications.
936-
// Crude and ugly fixup ahead, beware!
935+
// XInclude by XPath/XPointer may start causing duplications
936+
// (see docs/structure.md). Crude and ugly fixup ahead, beware!
937937

938938
$list = array();
939939
$nodes = $xpath->query( "//*[@xml:id]" );
@@ -1051,4 +1051,3 @@ function xinclude_residual( DOMDocument $dom )
10511051

10521052
errors_are_bad(1); // Tell the shell that this script finished with an error.
10531053
}
1054-
?>

0 commit comments

Comments
 (0)