[libvirt] [PATCH] docs: don't use https in XML namespace URIs

Daniel P. Berrange posted 1 patch 6 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20171116171857.29755-1-berrange@redhat.com
docs/drvlxc.html.in  | 2 +-
docs/drvqemu.html.in | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
[libvirt] [PATCH] docs: don't use https in XML namespace URIs
Posted by Daniel P. Berrange 6 years, 5 months ago
The XML namespace URI for the QEMU/LXC drivers must use http as the protocol
otherwise it won't match the parser's expectations.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
---
 docs/drvlxc.html.in  | 2 +-
 docs/drvqemu.html.in | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/drvlxc.html.in b/docs/drvlxc.html.in
index 94c6b82cfd..58a336ed30 100644
--- a/docs/drvlxc.html.in
+++ b/docs/drvlxc.html.in
@@ -601,7 +601,7 @@ rather than creating new network namespace for the container. In this case privn
 ignored.
 </p>
 <pre>
-&lt;domain type='lxc' xmlns:lxc='https://libvirt.org/schemas/domain/lxc/1.0'&gt;
+&lt;domain type='lxc' xmlns:lxc='http://libvirt.org/schemas/domain/lxc/1.0'&gt;
 ...
 &lt;lxc:namespace&gt;
   &lt;lxc:sharenet type='netns' value='red'/&gt;
diff --git a/docs/drvqemu.html.in b/docs/drvqemu.html.in
index e2a0797cfb..cb41b505d7 100644
--- a/docs/drvqemu.html.in
+++ b/docs/drvqemu.html.in
@@ -546,7 +546,7 @@ $ virsh domxml-to-native qemu-argv demo.xml
       (<span class="since">Since 0.8.3</span>).  In order to use the
       XML additions, it is necessary to issue an XML namespace request
       (the special <code>xmlns:<i>name</i></code> attribute) that
-      pulls in <code>https://libvirt.org/schemas/domain/qemu/1.0</code>;
+      pulls in <code>http://libvirt.org/schemas/domain/qemu/1.0</code>;
       typically, the namespace is given the name
       of <code>qemu</code>.  With the namespace in place, it is then
       possible to add an element <code>&lt;qemu:commandline&gt;</code>
@@ -566,7 +566,7 @@ $ virsh domxml-to-native qemu-argv demo.xml
           and optional <code>value</code>.</dd>
       </dl>
       <p>Example:</p><pre>
-&lt;domain type='qemu' xmlns:qemu='https://libvirt.org/schemas/domain/qemu/1.0'&gt;
+&lt;domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'&gt;
   &lt;name&gt;QEmu-fedora-i686&lt;/name&gt;
   &lt;memory&gt;219200&lt;/memory&gt;
   &lt;os&gt;
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] docs: don't use https in XML namespace URIs
Posted by Jiri Denemark 6 years, 5 months ago
On Thu, Nov 16, 2017 at 17:18:57 +0000, Daniel P. Berrange wrote:
> The XML namespace URI for the QEMU/LXC drivers must use http as the protocol
> otherwise it won't match the parser's expectations.
> 
> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
> ---
>  docs/drvlxc.html.in  | 2 +-
>  docs/drvqemu.html.in | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list