OWLView correction (namespace)
authorLaure Bourgois <Laure.Bourgois@logilab.fr>
Wed, 28 Jan 2009 16:53:09 +0100
changeset 503 a2fca6cdc5ff
parent 502 7882941d3530
child 504 459e50669d96
child 506 f60de0a5ef95
OWLView correction (namespace)
web/views/owl.py
--- a/web/views/owl.py	Wed Jan 28 16:52:12 2009 +0100
+++ b/web/views/owl.py	Wed Jan 28 16:53:09 2009 +0100
@@ -1,9 +1,9 @@
 from logilab.mtconverter import html_escape
 
-from cubicweb.common.uilib import ureport_as_html, unormalize, ajax_replace_url
+#from cubicweb.common.uilib import ureport_as_html, unormalize, ajax_replace_url
 from cubicweb.common.view import StartupView
 from cubicweb.common.view import EntityView
-from cubicweb.web.httpcache import EtagHTTPCacheManager
+#from cubicweb.web.httpcache import EtagHTTPCacheManager
 
 _ = unicode
 
@@ -57,7 +57,7 @@
             xmlns:owl="http://www.w3.org/2002/07/owl#"
             xmlns="http://logilab.org/owl/ontologies/%s#"
             xmlns:%s="http://logilab.org/owl/ontologies/%s#"
-            xml:base="http://logilab.org/owl/ontologies/%s">
+            xmlns:base="http://logilab.org/owl/ontologies/%s">
 
     <owl:Ontology rdf:about="">
         <rdfs:comment>