Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RDF Tree

16 views
Skip to first unread message

Jirka

unread,
Jun 12, 2012, 8:52:29 PM6/12/12
to
Hello,
I have got a "dont-build-content RDF tree" and in an RDF datasource is
one resource in multiple containers (seq).
But the tree show "this resource" always only in one branch
(corresponding to the container with the resource), to show the
"resource" in another branch, I have to first close the first opened
branch. So is it possible to show one "resource" in multiple branches at
the same time in a "dont-build-content RDF tree"?

Thanks,
J.

Neil

unread,
Jun 13, 2012, 4:37:51 AM6/13/12
to
The code that once did this never worked properly and was removed a long
time ago as part of a stability rewrite.

--
Warning: May contain traces of nuts.

Jirka

unread,
Jun 13, 2012, 7:05:19 AM6/13/12
to
Dne 13.6.2012 10:37, Neil napsal(a):
:( What do I do now...

Neil

unread,
Jun 13, 2012, 12:18:45 PM6/13/12
to
Well, I think you can do something using an nsIRDFInferDataSource...
basically this is a component created via the infer attribute on the RDF
tree that creates a virtual database using its own unique resources that
it can then map to the underlying database.

Jirka

unread,
Jun 14, 2012, 7:55:50 AM6/14/12
to
Dne 13.6.2012 18:18, Neil napsal(a):
Thank you for your answer, but I dont understand at all. I have tried to
find something about nsIRDFInferDataSource - examples, docs - without
luck. The main thing is, that I am like fish out of water, when I have
to work with components and RDF:(

Neil

unread,
Jun 14, 2012, 9:22:23 AM6/14/12
to
Jirka wrote:

> I have tried to find something about nsIRDFInferDataSource - examples,
> docs - without luck.

The only example I know of is the file that used it in Firefox 1.5 (it
got removed again for Firefox 3...), unfortunately I can't seem to work
out which bug it was in Bugzilla. And it's written in C++, which isn't
going to help...

http://mxr.mozilla.org/mozilla1.8/ident?i=nsIRDFInferDataSource

> The main thing is, that I am like fish out of water, when I have to
> work with components and RDF:(

I'm not surprised, nobody seems to like it :-(
0 new messages