[redland-dev] Re: Strange URI?

Boris Popov bpopov at gmail.com
Fri Jul 15 09:00:08 BST 2005


Hey,

Given a file that looks like this,

 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:s="
http://www.schemaweb.info/schemas/meta/rdf/">
 <s:SchemaDirectory rdf:about="http://www.schemaweb.info/">
 <s:name>SchemaWeb</s:name>
 
I get a strange URI value for the "s:name" predicate you can see on line 4. 
Basically the problem is that when I try this,

(self interface librdf_uri_as_string: (self interface librdf_node_get_uri: 
librdf_node))
 
on that node, I get back "http://www.schemaweb.info/schemas/meta/rdf/name" 
from which it is impossible to tell which of it is id of the resource (name) 
and which of it is its uri (
http://www.schemaweb.info/schemas/meta/rdf/).Should I be doing something 
different to extract that information?

This is the parser I'm using,

 self interface librdf_new_parser: self librdf_world with: 'rdfxml' with: 
nil with: nil
 
Thanks!

-- 
- Boris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnomehack.com/pipermail/redland-dev/attachments/20050715/1e90fcc7/attachment.htm


More information about the redland-dev mailing list