Module: kamailio
Branch: 5.4
Commit: cf1f5043fd346a1106071cad2f5e294ce7e32fd9
URL:
https://github.com/kamailio/kamailio/commit/cf1f5043fd346a1106071cad2f5e294…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-05-26T08:23:01+02:00
dispatcher: docs - set xmlns for include tags
(cherry picked from commit 3f25ef01c5cc3adb02dd1bfecdfd4c3ce80cef47)
(cherry picked from commit 6b9ecb0856a881144546fea6d3cbd8a3dc668b81)
---
Modified: src/modules/dispatcher/doc/dispatcher.xml
Modified: src/modules/dispatcher/doc/dispatcher_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/cf1f5043fd346a1106071cad2f5e294…
Patch:
https://github.com/kamailio/kamailio/commit/cf1f5043fd346a1106071cad2f5e294…
---
diff --git a/src/modules/dispatcher/doc/dispatcher.xml
b/src/modules/dispatcher/doc/dispatcher.xml
index 3888e5f281..af040e737d 100644
--- a/src/modules/dispatcher/doc/dispatcher.xml
+++ b/src/modules/dispatcher/doc/dispatcher.xml
@@ -6,12 +6,9 @@
<!ENTITY % docentities SYSTEM "../../../../doc/docbook/entities.xml">
%docentities;
-<!ENTITY % xinclude SYSTEM "http://www.docbook.org/xml/4.4/xinclude.mod"
>
-%xinclude;
-
]>
-<book
xmlns:xi="http://www.w3.org/2001/XInclude">
+<book>
<bookinfo>
<title>DISPATCHER Module</title>
<productname class="trade">&kamailioname;</productname>
@@ -97,7 +94,7 @@
</bookinfo>
<toc/>
- <xi:include href="dispatcher_admin.xml"/>
- <xi:include href="dispatcher_faq.xml"/>
+ <xi:include
xmlns:xi="http://www.w3.org/2001/XInclude"
href="dispatcher_admin.xml"/>
+ <xi:include
xmlns:xi="http://www.w3.org/2001/XInclude"
href="dispatcher_faq.xml"/>
</book>
diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml
b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 11fff9c7d6..30f32ca038 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -1,18 +1,15 @@
<?xml version="1.0" encoding='ISO-8859-1'?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
-
+
<!-- Include general documentation entities -->
<!ENTITY % docentities SYSTEM "../../../../doc/docbook/entities.xml">
%docentities;
-<!ENTITY % xinclude SYSTEM "http://www.docbook.org/xml/4.4/xinclude.mod"
>
-%xinclude;
-
]>
<!-- Module User's Guide -->
-<chapter
xmlns:xi="http://www.w3.org/2001/XInclude">
+<chapter>
<title>&adminguide;</title>
@@ -2170,7 +2167,7 @@ setid(int) destination(sip uri) flags(int,opt) priority(int,opt)
attrs(str,opt)
<title>dispatcher list file</title>
<programlisting format="linespecific">
...
-<xi:include href="dispatcher.list" parse="text"/>
+<xi:include
xmlns:xi="http://www.w3.org/2001/XInclude"
href="dispatcher.list" parse="text"/>
...
</programlisting>
</example>
@@ -2186,7 +2183,7 @@ setid(int) destination(sip uri) flags(int,opt) priority(int,opt)
attrs(str,opt)
<title>&kamailio; config script - sample dispatcher usage</title>
<programlisting format="linespecific">
...
-<xi:include href="dispatcher.cfg" parse="text"/>
+<xi:include
xmlns:xi="http://www.w3.org/2001/XInclude"
href="dispatcher.cfg" parse="text"/>
...
</programlisting>
</example>