Re: in-memory baseURIs

"rvj" <[email protected]> Wed, 29 Jun 2005 11:09:13 +0100
Newsgroups gmane.comp.mozilla.devel.rdf
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
PS anyway the baseURI is really not the issue........

... ideally it should be possible to set the datasource.URI of an in-memory
datasource

then datasource iteration could be used for all dataources

Unfortunately all in-memory datasource.URI currently return 'null'


"rvj" <[email protected]> wrote in message
news:[email protected]...
> thanks but  identifying the datsaource is relevant
>
> when trying to verify which datasource is supplying the data
>
> assuming a user click on a tree item two basic methods are used
>
> 1. with non-memory sources its simple to iterate through the datasources
> testing for a triple (only one will succeed) based on the urn
>
> 2. BUT with in-memory datasources it appears that the ONLY method is to
> check the datasource is to inspect the baseURI. (assuming a relative urn)
>
> This works for in-memory datasources created using the rdfparser
> but not for in-memory assertions created programmtically because there is
no
> way to
> attach a baseURI to the imds
>
> ... as far as I know
>
>
>
> "Neil" <[email protected]> wrote in message
> news:[email protected]...
> > rvj wrote:
> >
> > >Any plans for baseURIs for an in-memory datasource where the RDF
> assertions are built programmatically?
> > >
> > >
> > The data source is irrelevant. The parser only needs the URI in case it
> > needs to resolve relative URIs in the string.
> >
> > --
> > Warning: May contain traces of nuts.
>
>