Browse code

dispatcher: docs - set xmlns for include tags

(cherry picked from commit 3f25ef01c5cc3adb02dd1bfecdfd4c3ce80cef47)
(cherry picked from commit 6b9ecb0856a881144546fea6d3cbd8a3dc668b81)

Daniel-Constantin Mierla authored on 27/04/2021 07:59:29
Showing 2 changed files
... ...
@@ -6,12 +6,9 @@
6 6
 <!ENTITY % docentities SYSTEM "../../../../doc/docbook/entities.xml">
7 7
 %docentities;
8 8
 
9
-<!ENTITY % xinclude SYSTEM "http://www.docbook.org/xml/4.4/xinclude.mod" >
10
-%xinclude;
11
-
12 9
 ]>
13 10
 
14
-<book xmlns:xi="http://www.w3.org/2001/XInclude">
11
+<book>
15 12
 	<bookinfo>
16 13
 		<title>DISPATCHER Module</title>
17 14
 		<productname class="trade">&kamailioname;</productname>
... ...
@@ -97,7 +94,7 @@
97 94
 	</bookinfo>
98 95
 	<toc/>
99 96
 
100
-	<xi:include href="dispatcher_admin.xml"/>
101
-	<xi:include href="dispatcher_faq.xml"/>
97
+	<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dispatcher_admin.xml"/>
98
+	<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dispatcher_faq.xml"/>
102 99
 
103 100
 </book>
... ...
@@ -1,18 +1,15 @@
1 1
 <?xml version="1.0" encoding='ISO-8859-1'?>
2
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
2
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 3
 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4
- 
4
+
5 5
 <!-- Include general documentation entities -->
6 6
 <!ENTITY % docentities SYSTEM "../../../../doc/docbook/entities.xml">
7 7
 %docentities;
8 8
 
9
-<!ENTITY % xinclude SYSTEM "http://www.docbook.org/xml/4.4/xinclude.mod" >
10
-%xinclude;
11
-
12 9
 ]>
13 10
 <!-- Module User's Guide -->
14 11
 
15
-<chapter xmlns:xi="http://www.w3.org/2001/XInclude">
12
+<chapter>
16 13
 
17 14
 	<title>&adminguide;</title>
18 15
 
... ...
@@ -2170,7 +2167,7 @@ setid(int) destination(sip uri) flags(int,opt) priority(int,opt) attrs(str,opt)
2170 2167
 		<title>dispatcher list file</title>
2171 2168
 		<programlisting format="linespecific">
2172 2169
 ...
2173
-<xi:include href="dispatcher.list" parse="text"/>
2170
+<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dispatcher.list" parse="text"/>
2174 2171
 ...
2175 2172
 </programlisting>
2176 2173
 		</example>
... ...
@@ -2186,7 +2183,7 @@ setid(int) destination(sip uri) flags(int,opt) priority(int,opt) attrs(str,opt)
2186 2183
 		<title>&kamailio; config script - sample dispatcher usage</title>
2187 2184
 		<programlisting format="linespecific">
2188 2185
 ...
2189
-<xi:include href="dispatcher.cfg" parse="text"/>
2186
+<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dispatcher.cfg" parse="text"/>
2190 2187
 ...
2191 2188
 		</programlisting>
2192 2189
 		</example>