[libvirt] [PATCH] docs: Remove <code> from <summary> entries due to RNG error

John Ferlan jferlan at redhat.com
Sat Sep 2 12:09:39 UTC 2017


commit '96e55048' caused make check failure for virschematest:

1929) Checking ../docs/news.xml against ../news.rng                     ... libvirt: XML Util error : XML document failed to validate against schema: Unable to validate doc against /home/jferlan/git/libvirt.work/docs/schemas/../news.rng
Datatype element summary has child elements
Element summary failed to validate content
Datatype element summary has child elements
Element summary failed to validate content
^[[31m^[[1mFAILED^[[0m

That's because <code> elements don't appear to be allowed in the schema.
Rather than attempt to fix the schema, figured it was simpler to just
remove them and let the schema fix happen later.

Signed-off-by: John Ferlan <jferlan at redhat.com>
---
 Pushed as build breaker.

 docs/news.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/news.xml b/docs/news.xml
index 7e9395b..dd2e653 100644
--- a/docs/news.xml
+++ b/docs/news.xml
@@ -176,7 +176,7 @@
       </change>
       <change>
         <summary>
-          qemu: Honor <code><on_reboot/></code> setting
+          qemu: Honor <on_reboot/> setting
         </summary>
         <description>
           The setting was accepted by the parser, but not actually implemented.
@@ -184,7 +184,7 @@
       </change>
       <change>
         <summary>
-          Fix <code>--verbose</code> option for all daemons
+          Fix --verbose option for all daemons
         </summary>
         <description>
           Since v3.0.0, the option had been ignored by all libvirt deamons
-- 
2.9.5




More information about the libvir-list mailing list