Re: [PATCH] news: Fix XML validation

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

 



  Dohhh, that's why :-) !
Thanks for chasing this Jim,

Daniel

On Tue, Dec 03, 2019 at 04:02:11AM +0000, Jim Fehlig wrote:
> The news schema requires two digits for both month and day in the date
> attribute. s/2/02/ in the day value of date to fix the following
> 'make check' failure
> 
> 2165) Checking ../docs/news.xml against ../news.rng                     ...
> libvirt: XML Util error : XML document failed to validate against schema:
> Unable to validate doc against /home/jfehlig/virt/upstream/libvirt/build/../docs/schemas/../news.rng
> Element release failed to validate attributes
> 
> Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
> ---
> 
> Pushing under the build-breaker rule. One could argue the schema could
> be relaxed, but let's fix the build first.
> 
>  docs/news.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/docs/news.xml b/docs/news.xml
> index 55b227839e..46a3466238 100644
> --- a/docs/news.xml
> +++ b/docs/news.xml
> @@ -42,7 +42,7 @@
>       -->
>  
>  <libvirt>
> -  <release version="v5.10.0" date="2019-12-2">
> +  <release version="v5.10.0" date="2019-12-02">
>      <section title="New features">
>        <change>
>          <summary>
> -- 
> 2.24.0
> 
> 
> --
> libvir-list mailing list
> libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list

-- 
Daniel Veillard      | Red Hat Developers Tools http://developer.redhat.com/
veillard@xxxxxxxxxx  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux