[devhelp] parser: add comment about the namespace
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] parser: add comment about the namespace
- Date: Fri, 12 May 2017 10:22:32 +0000 (UTC)
commit 8ee5784768b9594684ed340439664588311a67b3
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri May 12 11:31:34 2017 +0200
parser: add comment about the namespace
It seems that the issue reappears from time to time, so add a comment
with references to some bugzilla tickets.
src/dh-parser.c | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-parser.c b/src/dh-parser.c
index 53c89f0..b50fa36 100644
--- a/src/dh-parser.c
+++ b/src/dh-parser.c
@@ -25,7 +25,21 @@
#include "dh-error.h"
#include "dh-link.h"
-#define NAMESPACE "http://www.devhelp.net/book"
+/* It's the xmlns attribute. It is currently (well, in 2015 at least) used on
+ * developer.gnome.org to look for <keyword> elements attached to that
+ * namespace.
+ *
+ * devhelp.net was initially the Devhelp website, but it is now no longer the
+ * case. But it is not a problem, a namespace qualifies a node name, it doesn't
+ * have to be a real site. And it is now too late to change it, at least for the
+ * format version 2.
+ *
+ * See:
+ * https://bugzilla.gnome.org/show_bug.cgi?id=566447
+ * https://bugzilla.gnome.org/show_bug.cgi?id=749591#c1
+ */
+#define NAMESPACE "http://www.devhelp.net/book"
+
#define BYTES_PER_READ 4096
typedef struct {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]