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

John Ferlan posted 1 patch 6 years, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20170902120939.28879-1-jferlan@redhat.com
docs/news.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[libvirt] [PATCH] docs: Remove <code> from <summary> entries due to RNG error
Posted by John Ferlan 6 years, 6 months ago
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@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>&lt;on_reboot/&gt;</code> setting
+          qemu: Honor &lt;on_reboot/&gt; 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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] docs: Remove <code> from <summary> entries due to RNG error
Posted by Andrea Bolognani 6 years, 6 months ago
On Sat, 2017-09-02 at 08:09 -0400, John Ferlan wrote:
> 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@redhat.com>
> ---
>  Pushed as build breaker.

Thanks ;)

-- 
Andrea Bolognani / Red Hat / Virtualization

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