[redland-dev] failure in librdf_new_node_from_typed_literal (was: Re: newbie question: constructing a literal with datatype using Python bindings)

Ben Ranker ben-redland at lateralfricative.net
Mon Mar 3 18:55:44 GMT 2008


Quoth Sean Boisen:
> >>> rdfalse = RDF.Node(literal="false",
> datatype=RDF.Uri("http://www.w3.org/2001/XMLSchema#boolean"))
[... and ...]
> node5=RDF.Node(literal="<tag>content</tag>", is_wf_xml=1)
[... fail.]
> which makes me think there's something wrong with the binaries. 
> 
> Can anybody shed some light on this? Do these forms work for others using Python?

Both of these examples return without error when I run them using librdf
1.0.7 with Python 2.4.4 under Debian Linux.

-- 
Ben Ranker             ben at lateralfricative.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.usefulinc.com/pipermail/redland-dev/attachments/20080303/2997c59c/attachment.pgp


More information about the redland-dev mailing list