[libgweather] locations: Actually validate the Locations.xml



commit 8e68a7b052a0065b3596ab08be8f99d328c0d812
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Dec 6 20:36:49 2017 +0100

    locations: Actually validate the Locations.xml
    
    xmllint was run without the "--valid" option, so would just check the
    XML for syntax errors, and wouldn't validate it against the DTD.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791319

 data/meson.build |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 31e8ecc..0269413 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -29,6 +29,7 @@ if xmllint.found()
        args: [
          '--path', '@0@'.format(meson.current_source_dir()),
          '--noout',
+         '--valid',
          'Locations.xml',
        ])
 endif


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