[redland] Way to Parse URIs?

Dave Beckett dave.beckett at bristol.ac.uk
Tue May 28 18:09:40 BST 2002


>>>bootyindustries said:
> Hello,
> 
> I looked through the documentation, and it looks like I can't do this
> but I wanted to double check with the experts.  Is there a way in
> redland to take a URI such as 'http://example.org/blah#foo' and parse
> it into 'http://example.org/blah#' and 'foo'?

There isn't such functionality; at present there is no need for it,
unless you are dealing with serialization to RDF/XML, say.  Which I
suspect is the reason you are asking here :)

However, I've got working code in my RDF/XML parser that deals with
URIs and I'll be folding it in too.  I don't know how much of that I
will expose at the API level, or need to.

Dave






More information about the redland-dev mailing list