Module: kamailio
Branch: 5.5
Commit: 6b9ecb0856a881144546fea6d3cbd8a3dc668b81
URL:
https://github.com/kamailio/kamailio/commit/6b9ecb0856a881144546fea6d3cbd8a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-04-27T10:00:41+02:00
dispatcher: docs - set xmlns for include tags
(cherry picked from commit 3f25ef01c5cc3adb02dd1bfecdfd4c3ce80cef47)
---
Modified: src/modules/dispatcher/doc/dispatcher.xml
Modified: src/modules/dispatcher/doc/dispatcher_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/6b9ecb0856a881144546fea6d3cbd8a…
Patch:
https://github.com/kamailio/kamailio/commit/6b9ecb0856a881144546fea6d3cbd8a…
---
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 45f93a3121..0ac1a430e6 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>
@@ -2215,7 +2212,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>
@@ -2231,7 +2228,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>