[gnome-user-docs] Some strict validation fixes
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-user-docs] Some strict validation fixes
- Date: Wed, 17 Feb 2021 16:29:07 +0000 (UTC)
commit 6b96d0aa95c5fa6c2da25e6a98634e5993418943
Author: Shaun McCance <shaunm redhat com>
Date: Sun Feb 14 12:43:41 2021 -0500
Some strict validation fixes
gnome-help/C/.yelp-tools.cfg | 5 ++++-
gnome-help/C/a11y-braille.page | 2 +-
gnome-help/C/a11y-screen-reader.page | 2 +-
gnome-help/C/power-closelid.page | 2 +-
gnome-help/C/shell-apps-auto-start.page | 2 +-
gnome-help/C/tips-specialchars.page | 2 +-
6 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/gnome-help/C/.yelp-tools.cfg b/gnome-help/C/.yelp-tools.cfg
index 0d6d5e80..c60c7500 100644
--- a/gnome-help/C/.yelp-tools.cfg
+++ b/gnome-help/C/.yelp-tools.cfg
@@ -10,7 +10,10 @@ allow = help:orca help:baobab help:polari
[check:validate]
strict = true
-allow = http://www.w3.org/2005/11/its
+# The use of xml:id messes up validation. It really shouldn't
+# Let's fix the Mallard schemas so we don't have to skip these.
+skip = shell-keyboard-shortcuts.page keyboard-nav.page
+allow = http://www.w3.org/2005/11/its http://itstool.org/extensions/ http://www.w3.org/XML/1998/namespace
http://www.w3.org/1999/xlink http://www.w3.org/XML/1998/namespace http://projectmallard.org/experimental/ui/
[check:gnome-info-legal-xi]
select = /mal:page/mal:info
diff --git a/gnome-help/C/a11y-braille.page b/gnome-help/C/a11y-braille.page
index 14bd08cd..5ff5ce9d 100644
--- a/gnome-help/C/a11y-braille.page
+++ b/gnome-help/C/a11y-braille.page
@@ -1,6 +1,6 @@
<page xmlns="http://projectmallard.org/1.0/"
xmlns:if="http://projectmallard.org/if/1.0/"
- type="topic" style="task a11y"
+ type="topic" style="task a11y" version="1.0 if/1.0"
id="a11y-braille">
<info>
diff --git a/gnome-help/C/a11y-screen-reader.page b/gnome-help/C/a11y-screen-reader.page
index a8f30d2c..a588a6ce 100644
--- a/gnome-help/C/a11y-screen-reader.page
+++ b/gnome-help/C/a11y-screen-reader.page
@@ -1,6 +1,6 @@
<page xmlns="http://projectmallard.org/1.0/"
xmlns:if="http://projectmallard.org/if/1.0/"
- type="topic" style="a11y task"
+ type="topic" style="a11y task" version="1.0 if/1.0"
id="a11y-screen-reader">
<info>
diff --git a/gnome-help/C/power-closelid.page b/gnome-help/C/power-closelid.page
index 0b64470a..74e09e7b 100644
--- a/gnome-help/C/power-closelid.page
+++ b/gnome-help/C/power-closelid.page
@@ -1,5 +1,5 @@
<page xmlns="http://projectmallard.org/1.0/"
- type="topic" style="question"
+ type="topic" style="question" version="1.0 if/1.0"
id="power-closelid">
<info>
diff --git a/gnome-help/C/shell-apps-auto-start.page b/gnome-help/C/shell-apps-auto-start.page
index 49b118ea..9e3201da 100644
--- a/gnome-help/C/shell-apps-auto-start.page
+++ b/gnome-help/C/shell-apps-auto-start.page
@@ -1,6 +1,6 @@
<page xmlns="http://projectmallard.org/1.0/"
xmlns:if="http://projectmallard.org/if/1.0/"
- type="topic" style="task"
+ type="topic" style="task" version="1.0 if/1.0"
id="shell-apps-auto-start">
<info>
diff --git a/gnome-help/C/tips-specialchars.page b/gnome-help/C/tips-specialchars.page
index 562886d8..02b2b0ce 100644
--- a/gnome-help/C/tips-specialchars.page
+++ b/gnome-help/C/tips-specialchars.page
@@ -1,6 +1,6 @@
<page xmlns="http://projectmallard.org/1.0/"
xmlns:its="http://www.w3.org/2005/11/its"
- type="topic" style="task"
+ type="topic" style="task" version="1.0 if/1.0"
id="tips-specialchars">
<info>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]