[gtksourceview] build: disable dtd validation



commit 6c7ea72cfaab9b561c95f35772956c5f6ceeabe4
Author: Christian Hergert <chergert redhat com>
Date:   Mon Aug 5 13:44:12 2019 -0700

    build: disable dtd validation
    
    This doesn't pass, and likely seems to be in relation to the DTD provided
    by Glade rather than GtkSourceView's use of it.

 data/glade/meson.build | 36 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)
---
diff --git a/data/glade/meson.build b/data/glade/meson.build
index e626fd0f..3148632b 100644
--- a/data/glade/meson.build
+++ b/data/glade/meson.build
@@ -16,20 +16,22 @@ catalog_xml = configure_file(
     install_dir: join_paths(datadir, 'glade', 'catalogs')
 )
 
-if xmllint_prg.found()
-  catalog_dtd = join_paths(
-    gladeui_dep.get_pkgconfig_variable('catalogdir'),
-   'glade-catalog.dtd'
-  )
-
-  test(
-    'Validate Glade catalogue',
-    xmllint_prg,
-    args: [
-      '--dtdvalid',
-      catalog_dtd,
-      catalog_xml,
-      '--noout',
-    ]
-  )
-endif
+# Currently DTD validation does not work with glade's DTD.
+# This does not appear to be limited to GtkSourceView.
+#if xmllint_prg.found()
+#  catalog_dtd = join_paths(
+#    gladeui_dep.get_pkgconfig_variable('catalogdir'),
+#   'glade-catalog.dtd'
+#  )
+#
+#  test(
+#    'Validate Glade catalogue',
+#    xmllint_prg,
+#    args: [
+#      '--dtdvalid',
+#      catalog_dtd,
+#      catalog_xml,
+#      '--noout',
+#    ]
+#  )
+#endif


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