Some invalid DOAP files



A few modules have DOAP files that aren't valid RDF. This is
what they have:

<maintainer>
  <foaf:Person>...</foaf:Person>
  <foaf:Person>...</foaf:Person>
</maintainer>

This doesn't work in RDF. Properties like maintainer take a
single object. To list multiple maintainers, do this:

<maintainer>
  <foaf:Person>...</foaf:Person>
</maintainer>
<maintainer>
  <foaf:Person>...</foaf:Person>
</maintainer>

It's a common (and understandable) mistake. It's one of RDF's
little annoyances. I've already pushed fixes for gtkmm and
libgnomecanvasmm with Murray's permission. Attached are git
patches for empathy, totem, and gconf-editor. There may be
others, but Blip hasn't gotten to them yet.

Thanks,
Shaun

>From cc3f6fad17e83034adae5ad093bcd1ced2ae031e Mon Sep 17 00:00:00 2001
From: Shaun McCance <shaunm gnome org>
Date: Fri, 16 Apr 2010 09:05:19 -0500
Subject: [PATCH] [totem.doap] Fixed invalid multiple objects on RDF properties

---
 totem.doap |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/totem.doap b/totem.doap
index 8c7d1da..1480def 100644
--- a/totem.doap
+++ b/totem.doap
@@ -13,6 +13,8 @@
 			<foaf:mbox rdf:resource="mailto:hadess hadess net" />
 			<gnome:userid>hadess</gnome:userid>
 		</foaf:Person>
+	</maintainer>
+	<maintainer>
 		<foaf:Person>
 			<foaf:name>Tim-Philipp Müller</foaf:name>
 			<foaf:mbox rdf:resource="mailto:tim centricular net" />
-- 
1.6.5.2

>From e06828c1bde3effe7e118b241042b92b7a36af84 Mon Sep 17 00:00:00 2001
From: Shaun McCance <shaunm gnome org>
Date: Fri, 16 Apr 2010 09:06:24 -0500
Subject: [PATCH] [gconf-editor.doap] Fixed invalid multiple objects on RDF properties

---
 gconf-editor.doap |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gconf-editor.doap b/gconf-editor.doap
index 82407c2..8541a90 100644
--- a/gconf-editor.doap
+++ b/gconf-editor.doap
@@ -18,6 +18,8 @@
       <foaf:name>Fernando Herrera</foaf:name>
       <gnome:userid>fherrera</gnome:userid>
     </foaf:Person>
+  </maintainer>
+  <maintainer>
     <foaf:Person>
       <foaf:name>Cosimo Cecchi</foaf:name>
       <foaf:mbox rdf:resource="mailto:cosimoc gnome org" />
-- 
1.6.5.2

>From 2ad7d585d5245dfd5a8ce2d909042cfb58b69bbb Mon Sep 17 00:00:00 2001
From: Shaun McCance <shaunm gnome org>
Date: Fri, 16 Apr 2010 09:05:48 -0500
Subject: [PATCH] [empathy.doap] Fixed invalid multiple objects on RDF properties

---
 empathy.doap |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/empathy.doap b/empathy.doap
index 8b3e32f..2be67a5 100644
--- a/empathy.doap
+++ b/empathy.doap
@@ -18,7 +18,8 @@
       <foaf:mbox rdf:resource="mailto:xclaesse gmail com" />
       <gnome:userid>xclaesse</gnome:userid>
     </foaf:Person>
-
+  </maintainer>
+  <maintainer>
     <foaf:Person>
       <foaf:name>Guillaume Desmottes</foaf:name>
       <foaf:mbox rdf:resource="mailto:gdesmott gnome org" />
-- 
1.6.5.2



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