[redland-dev] Re: Strange URI?
bpopov at gmail.com
Fri Jul 15 09:00:08 BST 2005
Given a file that looks like this,
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:s="
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:
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the redland-dev