small corrections
authorLaure Bourgois <Laure.Bourgois@logilab.fr>
Fri, 30 Jan 2009 15:36:26 +0100
changeset 537 f16da6c874da
parent 534 1368c80276bc
child 539 6ed63265764e
small corrections
web/views/owl.py
--- a/web/views/owl.py	Fri Jan 30 15:32:02 2009 +0100
+++ b/web/views/owl.py	Fri Jan 30 15:36:26 2009 +0100
@@ -30,6 +30,7 @@
     id = 'owl'
     title = _('owl')
     templatable =False
+    content_type = 'application/xml' # 'text/xml'
 
     def call(self):
         skipmeta = int(self.req.form.get('skipmeta', True))
@@ -176,11 +177,10 @@
     title = _('owlabox')
     templatable =False
     accepts = ('Any',)
+    content_type = 'application/xml' # 'text/xml'
     
     def call(self):
 
-        rql = ('Any X')
-        rset = self.req.execute(rql)
         skipmeta = int(self.req.form.get('skipmeta', True))
         self.w(u'''<?xml version="1.0" encoding="UTF-8"?>
         <!DOCTYPE rdf:RDF [