[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Fix multiple formatting problems in HTML docs



From: "Daniel P. Berrange" <berrange redhat com>

The rule generating the HTML docs passing the --html flag
to xsltproc. This makes it use the legacy HTML parser, which
either ignores or tries to fix all sorts of broken XML tags.
There's no reason why we should be writing broken XML in
the first place, so removing --html and adding the XHTML
doctype to all files forces us to create good XML.

This adds the XHTML doc type and fixes many, many XML tag
problems it exposes.

Signed-off-by: Daniel P. Berrange <berrange redhat com>
---
 docs/404.html.in                     |  5 +++--
 docs/Makefile.am                     |  6 +++---
 docs/api.html.in                     |  5 +++--
 docs/api_extension.html.in           |  4 +++-
 docs/apps.html.in                    |  5 ++++-
 docs/archdomain.html.in              |  4 +++-
 docs/architecture.html.in            |  5 +++--
 docs/archnetwork.html.in             |  5 +++--
 docs/archnode.html.in                |  4 +++-
 docs/archstorage.html.in             |  4 +++-
 docs/auth.html.in                    |  5 +++--
 docs/bindings.html.in                |  5 +++--
 docs/bugs.html.in                    |  5 +++--
 docs/compiling.html.in               |  5 +++--
 docs/contact.html.in                 |  5 +++--
 docs/csharp.html.in                  |  5 +++--
 docs/deployment.html.in              |  4 +++-
 docs/devguide.html.in                |  5 +++--
 docs/docs.html.in                    |  4 +++-
 docs/downloads.html.in               |  5 +++--
 docs/drivers.html.in                 |  4 +++-
 docs/drvesx.html.in                  |  5 ++++-
 docs/drvhyperv.html.in               |  5 ++++-
 docs/drvlxc.html.in                  |  4 +++-
 docs/drvopenvz.html.in               |  4 +++-
 docs/drvparallels.html.in            |  5 ++++-
 docs/drvphyp.html.in                 |  5 ++++-
 docs/drvqemu.html.in                 |  7 +++++--
 docs/drvremote.html.in               |  4 +++-
 docs/drvtest.html.in                 |  4 +++-
 docs/drvuml.html.in                  |  4 +++-
 docs/drvvbox.html.in                 |  4 +++-
 docs/drvvmware.html.in               |  4 +++-
 docs/drvxen.html.in                  |  4 +++-
 docs/errors.html.in                  |  5 +++--
 docs/firewall.html.in                |  5 +++--
 docs/format.html.in                  |  3 ++-
 docs/formatcaps.html.in              |  4 +++-
 docs/formatdomain.html.in            | 15 ++++++++++++---
 docs/formatnetwork.html.in           |  4 +++-
 docs/formatnode.html.in              |  4 +++-
 docs/formatnwfilter.html.in          | 16 +++++++++-------
 docs/formatsecret.html.in            |  4 +++-
 docs/formatsnapshot.html.in          |  4 +++-
 docs/formatstorage.html.in           |  4 +++-
 docs/formatstorageencryption.html.in |  4 +++-
 docs/goals.html.in                   |  5 +++--
 docs/hacking.html.in                 |  4 +++-
 docs/hooks.html.in                   |  5 +++--
 docs/index.html.in                   |  5 +++--
 docs/internals.html.in               |  4 +++-
 docs/internals/command.html.in       |  4 +++-
 docs/internals/locking.html.in       |  4 +++-
 docs/internals/rpc.html.in           |  5 ++++-
 docs/intro.html.in                   |  5 +++--
 docs/java.html.in                    |  5 +++--
 docs/locking.html.in                 |  5 +++--
 docs/logging.html.in                 |  5 +++--
 docs/migration.html.in               | 14 ++++++++------
 docs/news.html.in                    |  5 +++--
 docs/pending.html.in                 |  4 +++-
 docs/php.html.in                     |  5 +++--
 docs/python.html.in                  |  5 +++--
 docs/relatedlinks.html.in            |  4 +++-
 docs/remote.html.in                  |  5 +++--
 docs/sitemap.html.in                 |  4 +++-
 docs/storage.html.in                 |  5 +++--
 docs/testapi.html.in                 |  7 ++++---
 docs/testsuites.html.in              |  7 +++++--
 docs/testtck.html.in                 |  7 ++++---
 docs/uri.html.in                     |  5 +++--
 docs/virshcmdref.html.in             |  5 +++--
 docs/windows.html.in                 |  5 +++--
 73 files changed, 250 insertions(+), 123 deletions(-)

diff --git a/docs/404.html.in b/docs/404.html.in
index 6021ad0..5b771bb 100644
--- a/docs/404.html.in
+++ b/docs/404.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>404 page not found</h1>
 
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 137756b..b4855d1 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -171,7 +171,7 @@ internals/%.html.tmp: internals/%.html.in subsite.xsl page.xsl sitemap.html.in
 	  echo "Generating $@"; \
 	  $(MKDIR_P) internals; \
 	  name=`echo $@ | sed -e 's/.tmp//'`; \
-	  $(XSLTPROC) --stringparam pagename $$name --nonet --html \
+	  $(XSLTPROC) --stringparam pagename $$name --nonet \
 	    $(top_srcdir)/docs/subsite.xsl $< > $@ \
 	    || { rm $@ && exit 1; }; fi
 
@@ -179,7 +179,7 @@ internals/%.html.tmp: internals/%.html.in subsite.xsl page.xsl sitemap.html.in
 	@if [ -x $(XSLTPROC) ] ; then \
 	  echo "Generating $@"; \
 	  name=`echo $@ | sed -e 's/.tmp//'`; \
-	  $(XSLTPROC) --stringparam pagename $$name --nonet --html \
+	  $(XSLTPROC) --stringparam pagename $$name --nonet \
 	    $(top_srcdir)/docs/site.xsl $< > $@ \
 	    || { rm $@ && exit 1; }; fi
 
@@ -196,7 +196,7 @@ internals/%.html.tmp: internals/%.html.in subsite.xsl page.xsl sitemap.html.in
 %.php.tmp: %.php.in site.xsl page.xsl sitemap.html.in
 	@if [ -x $(XSLTPROC) ] ; then \
 	  echo "Generating $@"; \
-	  $(XSLTPROC) --stringparam pagename $(@:.tmp=) --nonet --html \
+	  $(XSLTPROC) --stringparam pagename $(@:.tmp=) --nonet \
 	    $(top_srcdir)/docs/site.xsl $< > $@ \
 	    || { rm $@ && exit 1; }; fi
 
diff --git a/docs/api.html.in b/docs/api.html.in
index 12dfaee..f77e9db 100644
--- a/docs/api.html.in
+++ b/docs/api.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>The libvirt API concepts</h1>
 
diff --git a/docs/api_extension.html.in b/docs/api_extension.html.in
index 83c488c..6718625 100644
--- a/docs/api_extension.html.in
+++ b/docs/api_extension.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Implementing a new API in Libvirt</h1>
 
diff --git a/docs/apps.html.in b/docs/apps.html.in
index 76020d8..9fdfddb 100644
--- a/docs/apps.html.in
+++ b/docs/apps.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Applications using <strong>libvirt</strong></h1>
 
@@ -340,6 +342,7 @@
           <li>Shows you Systems Inventory (based on Facter) and
           provides real time information about hosts status based on
           Puppet reports.</li>
+      </ul>
       </dd>
     </dl>
 
diff --git a/docs/archdomain.html.in b/docs/archdomain.html.in
index 294fecb..50843a0 100644
--- a/docs/archdomain.html.in
+++ b/docs/archdomain.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Domain management architecture</h1>
   </body>
diff --git a/docs/architecture.html.in b/docs/architecture.html.in
index d846396..5d3d441 100644
--- a/docs/architecture.html.in
+++ b/docs/architecture.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >libvirt architecture</h1>
 
diff --git a/docs/archnetwork.html.in b/docs/archnetwork.html.in
index c7ca4ca..5ff330c 100644
--- a/docs/archnetwork.html.in
+++ b/docs/archnetwork.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Network management architecture</h1>
 
diff --git a/docs/archnode.html.in b/docs/archnode.html.in
index b3d50dd..ab446dc 100644
--- a/docs/archnode.html.in
+++ b/docs/archnode.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Node device management architecture</h1>
   </body>
diff --git a/docs/archstorage.html.in b/docs/archstorage.html.in
index 059f0b7..fb74f18 100644
--- a/docs/archstorage.html.in
+++ b/docs/archstorage.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Storage management architecture</h1>
 
diff --git a/docs/auth.html.in b/docs/auth.html.in
index 1bd02f2..e5703c7 100644
--- a/docs/auth.html.in
+++ b/docs/auth.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Authentication &amp; access control</h1>
     <p>
diff --git a/docs/bindings.html.in b/docs/bindings.html.in
index 74b3e2c..13b7d71 100644
--- a/docs/bindings.html.in
+++ b/docs/bindings.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Bindings for other languages</h1>
 
diff --git a/docs/bugs.html.in b/docs/bugs.html.in
index 7436a71..3d79b32 100644
--- a/docs/bugs.html.in
+++ b/docs/bugs.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
 
     <h1>Bug reporting</h1>
diff --git a/docs/compiling.html.in b/docs/compiling.html.in
index 0bfb298..66d2925 100644
--- a/docs/compiling.html.in
+++ b/docs/compiling.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1><a name="installation">libvirt Installation</a></h1>
 
diff --git a/docs/contact.html.in b/docs/contact.html.in
index 1f5103c..e34de67 100644
--- a/docs/contact.html.in
+++ b/docs/contact.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Contacting the development team</h1>
 
diff --git a/docs/csharp.html.in b/docs/csharp.html.in
index 62da6a8..4c35c87 100644
--- a/docs/csharp.html.in
+++ b/docs/csharp.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>C# API bindings</h1>
 
diff --git a/docs/deployment.html.in b/docs/deployment.html.in
index 8ef383b..d7d38ba 100644
--- a/docs/deployment.html.in
+++ b/docs/deployment.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Deployment</h1>
 
diff --git a/docs/devguide.html.in b/docs/devguide.html.in
index ba499db..122fe24 100644
--- a/docs/devguide.html.in
+++ b/docs/devguide.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>libvirt Application Development Guide</h1>
 
diff --git a/docs/docs.html.in b/docs/docs.html.in
index 970a79a..d4887db 100644
--- a/docs/docs.html.in
+++ b/docs/docs.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Documentation</h1>
   </body>
diff --git a/docs/downloads.html.in b/docs/downloads.html.in
index 64a16c9..83b8751 100644
--- a/docs/downloads.html.in
+++ b/docs/downloads.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Downloads</h1>
 
diff --git a/docs/drivers.html.in b/docs/drivers.html.in
index 3d79ed5..7aa44f3 100644
--- a/docs/drivers.html.in
+++ b/docs/drivers.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Internal drivers</h1>
 
diff --git a/docs/drvesx.html.in b/docs/drvesx.html.in
index 11df124..0816baf 100644
--- a/docs/drvesx.html.in
+++ b/docs/drvesx.html.in
@@ -1,4 +1,7 @@
-<html><body>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+  <body>
     <h1>VMware ESX hypervisor driver</h1>
     <ul id="toc"></ul>
     <p>
diff --git a/docs/drvhyperv.html.in b/docs/drvhyperv.html.in
index 7f0accd..7acf86f 100644
--- a/docs/drvhyperv.html.in
+++ b/docs/drvhyperv.html.in
@@ -1,4 +1,7 @@
-<html><body>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+  <body>
     <h1>Microsoft Hyper-V hypervisor driver</h1>
     <ul id="toc"></ul>
     <p>
diff --git a/docs/drvlxc.html.in b/docs/drvlxc.html.in
index c817a9b..beff214 100644
--- a/docs/drvlxc.html.in
+++ b/docs/drvlxc.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>LXC container driver</h1>
 <p>
diff --git a/docs/drvopenvz.html.in b/docs/drvopenvz.html.in
index a8f9f28..e2e72e7 100644
--- a/docs/drvopenvz.html.in
+++ b/docs/drvopenvz.html.in
@@ -1,4 +1,6 @@
-<html> <!-- -*- html -*- -->
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>OpenVZ container driver</h1>
 
diff --git a/docs/drvparallels.html.in b/docs/drvparallels.html.in
index 0a86451..927cc40 100644
--- a/docs/drvparallels.html.in
+++ b/docs/drvparallels.html.in
@@ -1,4 +1,7 @@
-<html><body>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+  <body>
     <h1>Parallels Cloud Server driver</h1>
     <ul id="toc"></ul>
     <p>
diff --git a/docs/drvphyp.html.in b/docs/drvphyp.html.in
index 50e26b2..bb1f69e 100644
--- a/docs/drvphyp.html.in
+++ b/docs/drvphyp.html.in
@@ -1,4 +1,7 @@
-<html><body>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+  <body>
     <h1>IBM PowerVM hypervisor driver (phyp)</h1>
     <ul id="toc"></ul>
     <p>
diff --git a/docs/drvqemu.html.in b/docs/drvqemu.html.in
index df99377..3a5c4df 100644
--- a/docs/drvqemu.html.in
+++ b/docs/drvqemu.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>KVM/QEMU hypervisor driver</h1>
 
@@ -17,6 +19,7 @@
       <li>
         The <a href="http://www.linux-kvm.org/";>KVM</a> Linux
         hypervisor
+      </li>
       <li>
         The <a href="http://wiki.qemu.org/Index.html";>QEMU</a> emulator
       </li>
@@ -569,7 +572,7 @@ $ virsh domxml-to-native qemu-argv demo.xml
           pair recorded in the attributes <code>name</code>
           and optional <code>value</code>.</dd>
       </dl>
-
+    </p>
       <p>Example:</p><pre>
 &lt;domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'&gt;
   &lt;name&gt;QEmu-fedora-i686&lt;/name&gt;
diff --git a/docs/drvremote.html.in b/docs/drvremote.html.in
index c66526f..c967324 100644
--- a/docs/drvremote.html.in
+++ b/docs/drvremote.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Remote management driver</h1>
   </body>
diff --git a/docs/drvtest.html.in b/docs/drvtest.html.in
index 44bc289..ba5fc99 100644
--- a/docs/drvtest.html.in
+++ b/docs/drvtest.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Test "mock" driver</h1>
 
diff --git a/docs/drvuml.html.in b/docs/drvuml.html.in
index 19b76ab..fe7769d 100644
--- a/docs/drvuml.html.in
+++ b/docs/drvuml.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>User Mode Linux driver</h1>
 
diff --git a/docs/drvvbox.html.in b/docs/drvvbox.html.in
index db82d2a..d59da57 100644
--- a/docs/drvvbox.html.in
+++ b/docs/drvvbox.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
     <body>
         <h1>VirtualBox hypervisor driver</h1>
         <p>
diff --git a/docs/drvvmware.html.in b/docs/drvvmware.html.in
index b82f6a3..9ee0ebd 100644
--- a/docs/drvvmware.html.in
+++ b/docs/drvvmware.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
     <body>
         <h1>VMware Workstation / Player hypervisors driver</h1>
         <p>
diff --git a/docs/drvxen.html.in b/docs/drvxen.html.in
index 06bd911..649ba42 100644
--- a/docs/drvxen.html.in
+++ b/docs/drvxen.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Xen hypervisor driver</h1>
 
diff --git a/docs/errors.html.in b/docs/errors.html.in
index cbd6e4b..df9aa7c 100644
--- a/docs/errors.html.in
+++ b/docs/errors.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Handling of errors</h1>
     <p>The main goals of libvirt when it comes to error handling are:</p>
diff --git a/docs/firewall.html.in b/docs/firewall.html.in
index a9af704..42642bc 100644
--- a/docs/firewall.html.in
+++ b/docs/firewall.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Firewall and network filtering in libvirt</h1>
     <p>There are three pieces of libvirt functionality which do network
diff --git a/docs/format.html.in b/docs/format.html.in
index 1306108..9cb8eee 100644
--- a/docs/format.html.in
+++ b/docs/format.html.in
@@ -1,4 +1,5 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >XML Format</h1>
diff --git a/docs/formatcaps.html.in b/docs/formatcaps.html.in
index 9d42426..d060a5b 100644
--- a/docs/formatcaps.html.in
+++ b/docs/formatcaps.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Driver capabilities XML format</h1>
 
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 768b54c..8b3bffa 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Domain XML format</h1>
 
@@ -182,6 +184,7 @@
         again in case the boot fails (according to BIOS). The value is
         in milliseconds with maximum of <code>65535</code> and special
         value <code>-1</code> disables the reboot.
+      </dd>
     </dl>
 
     <h4><a name="elementsOSBootloader">Host bootloader</a></h4>
@@ -641,6 +644,7 @@
         how to tune the performance of a NUMA host via controlling NUMA policy
         for domain process. NB, only supported by QEMU driver.
         <span class='since'>Since 0.9.3</span>
+      </dd>
       <dt><code>memory</code></dt>
       <dd>
         The optional <code>memory</code> element specifies how to allocate memory
@@ -1588,6 +1592,7 @@
           <dd>The optional <code>write_iops_sec</code> element is the
             write I/O operations per second.</dd>
         </dl>
+      </dd>
       <dt><code>driver</code></dt>
       <dd>
         The optional driver element allows specifying further details
@@ -1847,11 +1852,13 @@
             OS. For Linux this would be the value returned by the
             BLKSSZGET ioctl and describes the smallest units for disk
             I/O.
+          </dd>
           <dt><code>physical_block_size</code></dt>
           <dd>The physical block size the disk will report to the guest
             OS. For Linux this would be the value returned by the
             BLKPBSZGET ioctl and describes the disk's hardware sector
             size which can be relevant for the alignment of disk data.
+          </dd>
         </dl>
       </dd>
     </dl>
@@ -2092,6 +2099,7 @@
         additional attributes: <code>bus</code> (a 2-digit bus
         number), and <code>slot</code> attribute (a 2-digit slot
         within the bus).  <span class="since">Since 0.8.8.</span>
+      </dd>
       <dt><code>type='usb'</code></dt>
       <dd>USB addresses have the following additional
         attributes: <code>bus</code> (a hex value between 0 and 0xfff,
@@ -2367,6 +2375,7 @@
       <a href="#elementsOSBIOS">BIOS bootloader</a> section.
       <span class="since">Since 0.8.8</span> for PCI devices,
       <span class="since">Since 1.0.1</span> for USB devices.
+      </dd>
       <dt><code>rom</code></dt>
       <dd>The <code>rom</code> element is used to change how a PCI
         device's ROM is presented to the guest. The optional <code>bar</code>
@@ -4030,7 +4039,7 @@ qemu-kvm -net nic,model=? /dev/null
         usually care about the source path since it's libvirt who talks to
         the guest agent. In case users want to utilize this feature, they should
         leave <code>&lt;source&gt;</code> element out.
-
+      </dd>
       <dt><code>spicevmc</code></dt>
       <dd>Paravirtualized SPICE channel. The domain must also have a
         SPICE server as a <a href="#elementsGraphics">graphics
@@ -4589,7 +4598,7 @@ qemu-kvm -net nic,model=? /dev/null
           TPM device. The following types are supported:
         </p>
         <ul>
-          <li>'passthrough' &mdash; use the host's TPM device.
+          <li>'passthrough' &mdash; use the host's TPM device.</li>
         </ul>
       </dd>
       <dt><code>backend type='passthrough'</code></dt>
diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.html.in
index b188896..d72bd0a 100644
--- a/docs/formatnetwork.html.in
+++ b/docs/formatnetwork.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Network XML format</h1>
 
diff --git a/docs/formatnode.html.in b/docs/formatnode.html.in
index 5712bcf..11654e5 100644
--- a/docs/formatnode.html.in
+++ b/docs/formatnode.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Node devices XML format</h1>
 
diff --git a/docs/formatnwfilter.html.in b/docs/formatnwfilter.html.in
index 78c3b82..5e1c6bb 100644
--- a/docs/formatnwfilter.html.in
+++ b/docs/formatnwfilter.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Network Filters</h1>
 
@@ -113,7 +115,7 @@
     <p>
       Filtering rules are organized in filter chains. These chains can be
       thought of as having a tree structure with packet
-      filtering rules as entries in individual chains (branches). <br>
+      filtering rules as entries in individual chains (branches). <br/>
       Packets start their filter evaluation in the <code>root</code> chain
       and can then continue their evaluation in other chains, return from
       those chains back into the <code>root</code> chain or be
@@ -227,7 +229,7 @@
     <p>
       A chain with a lower priority value is accessed before one with a
       higher value.
-      <br><br>
+      <br/>
       <span class="since">Since 0.9.8</span> the above listed chains
       can be assigned custom priorities by writing a value in the
       range [-1000, 1000] into the priority (XML) attribute in the filter
@@ -370,7 +372,7 @@
     <p>
       Further, the notation of $VARIABLE is short-hand for $VARIABLE[ 0]  The
       former notation always assumes the iterator with Id '0'.
-    <p>
+    </p>
 
     <h3><a name="nwfelemsRulesAdvIPAddrDetection">Automatic IP address detection</a></h3>
     <p>
@@ -394,7 +396,7 @@
        When a VM is migrated to another host or resumed after a suspend operation,
        the first packet sent by the VM will again determine the IP address it can
        use on a particular interface.
-       <br/><br>
+       <br/>
        A value of <code>dhcp</code> specifies that libvirt should only honor DHCP
        server-assigned addresses with valid leases. This method supports the detection
        and usage of multiple IP address per interface.
@@ -567,7 +569,7 @@
         (matching the rule passes this filter, but returns control to
         the calling filter for further
         analysis) <span class="since">(since 0.9.7)</span>,
-        or <code>continue<code> (matching the rule goes on to the next
+        or <code>continue</code> (matching the rule goes on to the next
         rule for further analysis) <span class="since">(since
         0.9.7)</span>.
      </li>
@@ -585,7 +587,7 @@
         <span class="since">Since 0.9.8</span> this has been extended to cover
         the range of -1000 to 1000. If this attribute is not
         provided, priority 500 will automatically be assigned.
-        <br>
+        <br/>
         Note that filtering rules in the <code>root</code> chain are sorted
         with filters connected to the <code>root</code> chain following
         their priorities. This allows to interleave filtering rules with
diff --git a/docs/formatsecret.html.in b/docs/formatsecret.html.in
index c3c4a25..f816b50 100644
--- a/docs/formatsecret.html.in
+++ b/docs/formatsecret.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Secret XML format</h1>
 
diff --git a/docs/formatsnapshot.html.in b/docs/formatsnapshot.html.in
index 2e830f8..76689cb 100644
--- a/docs/formatsnapshot.html.in
+++ b/docs/formatsnapshot.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Snapshot XML format</h1>
 
diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in
index eba3647..9c3be67 100644
--- a/docs/formatstorage.html.in
+++ b/docs/formatstorage.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Storage pool and volume XML format</h1>
 
diff --git a/docs/formatstorageencryption.html.in b/docs/formatstorageencryption.html.in
index 9557a22..2b22237 100644
--- a/docs/formatstorageencryption.html.in
+++ b/docs/formatstorageencryption.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Storage volume encryption XML format</h1>
 
diff --git a/docs/goals.html.in b/docs/goals.html.in
index a17115e..60b6c44 100644
--- a/docs/goals.html.in
+++ b/docs/goals.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Terminology and goals</h1>
     <p>To avoid ambiguity about the terms used, here are the definitions
diff --git a/docs/hacking.html.in b/docs/hacking.html.in
index 99933d1..64cdcc2 100644
--- a/docs/hacking.html.in
+++ b/docs/hacking.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Contributor guidelines</h1>
 
diff --git a/docs/hooks.html.in b/docs/hooks.html.in
index 3b070e7..f0f692b 100644
--- a/docs/hooks.html.in
+++ b/docs/hooks.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Hooks for specific system management</h1>
 
diff --git a/docs/index.html.in b/docs/index.html.in
index 038986d..772cbfb 100644
--- a/docs/index.html.in
+++ b/docs/index.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>The virtualization API</h1>
 
diff --git a/docs/internals.html.in b/docs/internals.html.in
index 90143ef..398d02e 100644
--- a/docs/internals.html.in
+++ b/docs/internals.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>libvirt internals</h1>
 
diff --git a/docs/internals/command.html.in b/docs/internals/command.html.in
index 7bb9aa3..d63151e 100644
--- a/docs/internals/command.html.in
+++ b/docs/internals/command.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Spawning processes / commands from libvirt drivers</h1>
 
diff --git a/docs/internals/locking.html.in b/docs/internals/locking.html.in
index c50e68f..0317c78 100644
--- a/docs/internals/locking.html.in
+++ b/docs/internals/locking.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Resource Lock Manager</h1>
 
diff --git a/docs/internals/rpc.html.in b/docs/internals/rpc.html.in
index 91e8449..40fb59d 100644
--- a/docs/internals/rpc.html.in
+++ b/docs/internals/rpc.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>libvirt RPC infrastructure</h1>
 
@@ -152,6 +154,7 @@
           <li>continue: for streams this indicates that further data packets
             will be following</li>
         </ol>
+      </dd>
     </dl>
 
     <h3><a href="protocolpayload">Packet payload</a></h3>
diff --git a/docs/intro.html.in b/docs/intro.html.in
index a661ca3..6736f2a 100644
--- a/docs/intro.html.in
+++ b/docs/intro.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Architecture</h1>
     <p>Libvirt is a C toolkit manage the virtualization capabilities
diff --git a/docs/java.html.in b/docs/java.html.in
index 41f2630..b5812ba 100644
--- a/docs/java.html.in
+++ b/docs/java.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Java API bindings</h1>
 
diff --git a/docs/locking.html.in b/docs/locking.html.in
index 19dd6a3..8e1e72c 100644
--- a/docs/locking.html.in
+++ b/docs/locking.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Virtual machine disk locking</h1>
 
diff --git a/docs/logging.html.in b/docs/logging.html.in
index a95f7bc..86e178c 100644
--- a/docs/logging.html.in
+++ b/docs/logging.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Logging in the library and the daemon</h1>
     <p>Libvirt includes logging facilities starting from version 0.6.0,
diff --git a/docs/migration.html.in b/docs/migration.html.in
index aecef41..2ea0969 100644
--- a/docs/migration.html.in
+++ b/docs/migration.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Guest migration</h1>
 
@@ -30,7 +32,7 @@
     </p>
 
     <p>
-      <img class="diagram" src="migration-native.png" alt="Migration native path">
+      <img class="diagram" src="migration-native.png" alt="Migration native path"/>
     </p>
 
     <h3><a name="transporttunnel">libvirt tunnelled transport</a></h3>
@@ -48,7 +50,7 @@
     </p>
 
     <p>
-      <img class="diagram" src="migration-tunnel.png" alt="Migration tunnel path">
+      <img class="diagram" src="migration-tunnel.png" alt="Migration tunnel path"/>
     </p>
 
     <h2><a name="flow">Communication control paths/flows</a></h2>
@@ -75,7 +77,7 @@
     </p>
 
     <p>
-      <img class="diagram" src="migration-managed-direct.png" alt="Migration direct, managed">
+      <img class="diagram" src="migration-managed-direct.png" alt="Migration direct, managed"/>
     </p>
 
 
@@ -97,7 +99,7 @@
     </p>
 
     <p>
-      <img class="diagram" src="migration-managed-p2p.png" alt="Migration peer-to-peer">
+      <img class="diagram" src="migration-managed-p2p.png" alt="Migration peer-to-peer"/>
     </p>
 
 
@@ -113,7 +115,7 @@
     </p>
 
     <p>
-      <img class="diagram" src="migration-unmanaged-direct.png" alt="Migration direct, unmanaged">
+      <img class="diagram" src="migration-unmanaged-direct.png" alt="Migration direct, unmanaged"/>
     </p>
 
 
diff --git a/docs/news.html.in b/docs/news.html.in
index 44a1b09..b77cf1d 100644
--- a/docs/news.html.in
+++ b/docs/news.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
diff --git a/docs/pending.html.in b/docs/pending.html.in
index f2978bf..d9d2eae 100644
--- a/docs/pending.html.in
+++ b/docs/pending.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Pending patches needing review</h1>
     <p> A list of pending patches needing review upstream is available
diff --git a/docs/php.html.in b/docs/php.html.in
index 5283e67..d9a3c1b 100644
--- a/docs/php.html.in
+++ b/docs/php.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>PHP API bindings</h1>
 
diff --git a/docs/python.html.in b/docs/python.html.in
index e7538a4..3033337 100644
--- a/docs/python.html.in
+++ b/docs/python.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Python API bindings</h1>
 
diff --git a/docs/relatedlinks.html.in b/docs/relatedlinks.html.in
index 9e96f66..b376ced 100644
--- a/docs/relatedlinks.html.in
+++ b/docs/relatedlinks.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Related links</h1>
 
diff --git a/docs/remote.html.in b/docs/remote.html.in
index fc6af82..25ae30e 100644
--- a/docs/remote.html.in
+++ b/docs/remote.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Remote support</h1>
     <p>
diff --git a/docs/sitemap.html.in b/docs/sitemap.html.in
index afabf2d..619e4a1 100644
--- a/docs/sitemap.html.in
+++ b/docs/sitemap.html.in
@@ -1,4 +1,6 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Sitemap</h1>
 
diff --git a/docs/storage.html.in b/docs/storage.html.in
index 649e23b..1181444 100644
--- a/docs/storage.html.in
+++ b/docs/storage.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Storage Management</h1>
     <p>
diff --git a/docs/testapi.html.in b/docs/testapi.html.in
index 9b6161d..cf23271 100644
--- a/docs/testapi.html.in
+++ b/docs/testapi.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>libvirt-test-API:  Python based test suite </h1>
     <p>Libvirt-test-API is a powerful test tool designed to complement
@@ -24,7 +25,7 @@
     <ul>
       <li> A <a href="http://libvirt.org/sources/libvirt-test-API/Libvirt-test-API.pdf";>documentation PDF</a>
            file describing the test suite and how to write test cases
-           and test scenarios.
+           and test scenarios.</li>
     </ul>
     <p> Libvirt-test-API is maintained using
         <a href="http://libvirt.org/git/?p=libvirt-test-API.git";>a GIT
diff --git a/docs/testsuites.html.in b/docs/testsuites.html.in
index 4441d94..9a382cf 100644
--- a/docs/testsuites.html.in
+++ b/docs/testsuites.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Test suites</h1>
     <p>There is a few test suites available to developers for testing
@@ -24,6 +25,7 @@
           in Fedora distributions, but best is probably to get
           the <a href="http://libvirt.org/git/?p=libvirt-tck.git";>version
           from GIT</a>.
+      </li>
       <li>the <a href="testapi.html">libvirt-test-API</a> is also a functional
           test suite, but implemented using the
           <a href="python.html">Python bindings</a>
@@ -32,6 +34,7 @@
           or directly get
           the <a href="http://libvirt.org/git/?p=libvirt-test-API.git";>version
           from GIT</a>.
+      </li>
     </ul>
   </body>
 </html>
diff --git a/docs/testtck.html.in b/docs/testtck.html.in
index c0e7008..dff46d0 100644
--- a/docs/testtck.html.in
+++ b/docs/testtck.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>libvirt TCK  : Technology Compatibility Kit</h1>
     <p>The libvirt TCK provides a framework for performing testing
@@ -26,7 +27,7 @@
     <ul>
       <li> The initial
 <a href="http://www.redhat.com/archives/libvir-list/2009-April/msg00176.html";>mail
-           from Daniel Berrange</a> presenting the project.
+           from Daniel Berrange</a> presenting the project.</li>
       <li> The <a href="http://fedoraproject.org/wiki/Features/VirtTCK";>page
            describing VirtTCK</a> the inclusion of libvirt-TCK as a
            Fedora Feature.</li>
diff --git a/docs/uri.html.in b/docs/uri.html.in
index 97a1cdb..73c3e88 100644
--- a/docs/uri.html.in
+++ b/docs/uri.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Connection URIs</h1>
 
diff --git a/docs/virshcmdref.html.in b/docs/virshcmdref.html.in
index 4845312..5503ca0 100644
--- a/docs/virshcmdref.html.in
+++ b/docs/virshcmdref.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Virsh Command Reference</h1>
 
diff --git a/docs/windows.html.in b/docs/windows.html.in
index 8e0af7c..89dfdb1 100644
--- a/docs/windows.html.in
+++ b/docs/windows.html.in
@@ -1,5 +1,6 @@
-<?xml version="1.0"?>
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Windows support</h1>
 
-- 
1.8.2.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]