[Bug 658869] Better ns for generated repositories.doap



https://bugzilla.gnome.org/show_bug.cgi?id=658869
  sysadmin | Git | unspecified

--- Comment #1 from Germán Póo-Caamaño <gpoo gnome org> 2011-09-13 01:55:06 UTC ---
I forgot to add an example of the output with the patch:

<?xml version='1.0' encoding='UTF-8'?>
<rdf:RDF
    xmlns:doap="http://usefulinc.com/ns/doap#";
    xmlns:foaf="http://xmlns.com/foaf/0.1/";
    xmlns:gnome="http://api.gnome.org/doap-extensions#";
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
<doap:Project>
  <doap:name xml:lang="en">evolution</doap:name>
  <doap:shortdesc xml:lang="en">Manage your email, contacts and
schedule</doap:shortdesc>
[...]

I tested it as:

$ python
>>> import semi_rdf
>>> f = semi_rdf.read_rdf('file:///.../evolution/evolution.doap')
>>> g = open('/tmp/test.doap', 'w')
>>> semi_rdf.dump_rdf(f, g)
>>> g.close()

with and without the patch.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact of the bug.
You are watching the assignee of the bug.


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