Hi,

Redland Python bindings (v.1.0.10.1) report the following exception
when constructing a RDF.Node. Is that a bug?

import RDF
xsd = RDF.NS("http://www.w3.org/2001/XMLSchema#";)
RDF.Node("2009", datatype=xsd.date)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/RDF.py
in __init__(self, arg, **args)
    302         datatype=args['datatype']
    303
self._node=Redland.librdf_new_node_from_typed_literal(_world._world,
--> 304           args['literal'], xml_language, datatype._reduri)
    305       else:
    306         self._node=Redland.librdf_new_node_from_literal(_world._world,

AttributeError: 'Node' object has no attribute '_reduri'
----
_______________________________________________
redland-dev mailing list
[email protected]
http://lists.librdf.org/mailman/listinfo/redland-dev

Reply via email to