cubicweb #2786812 web/test/test_views: two failures related to rdf handling [waiting feedback]

======================================================================
FAIL: test_one_each_config (test_views.AutomaticWebTest)
testing vid=rdf defined in cubicweb.web.views.rdf with (Any X LIMIT 1 WHERE X is BlogEntry)
----------------------------------------------------------------------
Traceback (most recent call last)
  File "/home/auc/confs/forges/logilab/common/testlib.py", line 646, in _proceed
    testfunc(*args, **kwargs)
  File "/home/auc/confs/forges/cubicweb/devtools/testlib.py", line 860, in view
    return self._test_view(viewfunc, view, template, kwargs)
  File "/home/auc/confs/forges/cubicweb/devtools/testlib.py", line 873, in _test_view
    output = viewfunc(**kwargs)
  File "/home/auc/confs/forges/cubicweb/devtools/testlib.py", line 859, in <lambda>
    rset=rset, **kwargs)
  File "/home/auc/confs/forges/cubicweb/cwvreg.py", line 394, in main_template
    res = obj.render(**kwargs)
  File "/home/auc/confs/forges/cubicweb/view.py", line 176, in render
    view_func(**context)
  File "/home/auc/confs/forges/cubicweb/web/views/basetemplates.py", line 115, in call
    view.render()
  File "/home/auc/confs/forges/cubicweb/view.py", line 176, in render
    view_func(**context)
  File "/home/auc/confs/forges/cubicweb/web/views/rdf.py", line 60, in call
    self.w(graph.serialize().decode('utf-8'))
  File "/usr/lib/pymodules/python2.6/rdflib/Graph.py", line 680, in serialize
    return serializer.serialize(destination, base=base, encoding=encoding, **args)
  File "/usr/lib/pymodules/python2.6/rdflib/syntax/serializer.py", line 28, in serialize
    self.serializer.serialize(stream, base=base, encoding=encoding, **args)
  File "/usr/lib/pymodules/python2.6/rdflib/syntax/serializers/XMLSerializer.py", line 54, in serialize
    bindings = list(self.__bindings())
  File "/usr/lib/pymodules/python2.6/rdflib/syntax/serializers/XMLSerializer.py", line 26, in __bindings
    prefix, namespace, name = nm.compute_qname(predicate)
  File "/usr/lib/pymodules/python2.6/rdflib/syntax/NamespaceManager.py", line 58, in compute_qname
    namespace, name = split_uri(uri)
  File "/usr/lib/pymodules/python2.6/rdflib/syntax/xml_names.py", line 82, in split_uri
    raise Exception("Can't split '%s'" % uri)
AssertionError: [<type 'exceptions.Exception'> in rdf] Can't split 'sioccontent'

                              no stdout
                              no stderr
======================================================================
FAIL: test_ten_each_config (test_views.AutomaticWebTest)
testing vid=rdf defined in cubicweb.web.views.rdf with (Any X LIMIT 10 WHERE X is BlogEntry)
----------------------------------------------------------------------
Traceback (most recent call last)
  File "/home/auc/confs/forges/logilab/common/testlib.py", line 646, in _proceed
    testfunc(*args, **kwargs)
  File "/home/auc/confs/forges/cubicweb/devtools/testlib.py", line 860, in view
    return self._test_view(viewfunc, view, template, kwargs)
  File "/home/auc/confs/forges/cubicweb/devtools/testlib.py", line 873, in _test_view
    output = viewfunc(**kwargs)
  File "/home/auc/confs/forges/cubicweb/devtools/testlib.py", line 859, in <lambda>
    rset=rset, **kwargs)
  File "/home/auc/confs/forges/cubicweb/cwvreg.py", line 394, in main_template
    res = obj.render(**kwargs)
  File "/home/auc/confs/forges/cubicweb/view.py", line 176, in render
    view_func(**context)
  File "/home/auc/confs/forges/cubicweb/web/views/basetemplates.py", line 115, in call
    view.render()
  File "/home/auc/confs/forges/cubicweb/view.py", line 176, in render
    view_func(**context)
  File "/home/auc/confs/forges/cubicweb/web/views/rdf.py", line 60, in call
    self.w(graph.serialize().decode('utf-8'))
  File "/usr/lib/pymodules/python2.6/rdflib/Graph.py", line 680, in serialize
    return serializer.serialize(destination, base=base, encoding=encoding, **args)
  File "/usr/lib/pymodules/python2.6/rdflib/syntax/serializer.py", line 28, in serialize
    self.serializer.serialize(stream, base=base, encoding=encoding, **args)
  File "/usr/lib/pymodules/python2.6/rdflib/syntax/serializers/XMLSerializer.py", line 54, in serialize
    bindings = list(self.__bindings())
  File "/usr/lib/pymodules/python2.6/rdflib/syntax/serializers/XMLSerializer.py", line 26, in __bindings
    prefix, namespace, name = nm.compute_qname(predicate)
  File "/usr/lib/pymodules/python2.6/rdflib/syntax/NamespaceManager.py", line 58, in compute_qname
    namespace, name = split_uri(uri)
  File "/usr/lib/pymodules/python2.6/rdflib/syntax/xml_names.py", line 82, in split_uri
    raise Exception("Can't split '%s'" % uri)
AssertionError: [<type 'exceptions.Exception'> in rdf] Can't split 'sioccontent'
prioritynormal
typebug
done in<not specified>
closed by<not specified>