Hey,<br>
<br>
Given a file that looks like this,<br>
<span style="font-family: courier new,monospace;"><br>
</span>
<div style="margin-left: 40px;"><span style="font-family: courier new,monospace;"><rdf:RDF xmlns:rdf="<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>" xmlns:s="
<a href="http://www.schemaweb.info/schemas/meta/rdf/"">http://www.schemaweb.info/schemas/meta/rdf/"</a>></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <s:SchemaDirectory rdf:about="<a href="http://www.schemaweb.info/"">http://www.schemaweb.info/"</a>></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <s:name>SchemaWeb</s:name></span><br>
</div>
<br>
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,<br>
<br>
<div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">(self interface librdf_uri_as_string: (self interface librdf_node_get_uri: librdf_node))</span><br>
</div>
<br>
on that node, I get back
"<a href="http://www.schemaweb.info/schemas/meta/rdf/name">http://www.schemaweb.info/schemas/meta/rdf/name</a>" from which it is
impossible to tell which of it is id of the resource (name) and which
of it is its uri (<a href="http://www.schemaweb.info/schemas/meta/rdf/).Should">http://www.schemaweb.info/schemas/meta/rdf/).Should</a> I
be doing something different to extract that information?<span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"><br>
</span>This is the parser I'm using,<span style="font-family: courier new,monospace;"><br>
<br>
</span>
<div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">self interface librdf_new_parser: self librdf_world with: 'rdfxml' with: nil with: nil</span><br>
<span style="font-family: courier new,monospace;"></span></div>
<span style="font-family: courier new,monospace;"><br>
Thanks!<br>
<br>
</span>-- <br>- Boris