[Jslib] RDF getRootBag

Pete Collins pete at mozdevgroup.com
Sun Feb 26 12:26:16 EST 2006



jym wrote:

> I am trying to determine when a certain container already exists in a 
> loaded datasource. To do this I am using the getRootBag() method 
> exposed by the RDFFile object that points to my loaded datasource.
> Whatever the container actually exists or not, the method always 
> returns the same valid RDFContainer object. Hence I am not able to 
> guess if it is in or not. Is there any means to differentiate from an 
> existing/non-existing container? Or is it simply a bug?
>
> Any help would be appreciated.
>

It could be a bug. Like I've stated before, the jsLib RDF library is 
old, and probably fairly buggy at this point. It is in need of a long 
overdue overhaul.

--pete

-- 
Pete Collins - Founder, Mozdev Group Inc.
www.mozdevgroup.com
Mozilla Software Development Solutions
tel: 1-719-302-5811
fax: 1-719-302-5813



More information about the Jslib mailing list