I'm not much of a C++ person, so bear with me here.  What I'm trying to do
is write a XUL app with an in-memory datasource.  Unfortunately, it seems
that the only JS method of adding data to an existing RDF datasource is with
asserts.  nsRDFContentSink.cpp which actually does the parsing isn't exposed
to JS, and RDFContentSinkImpl::Init which seems to get the whole ball
rolling only takes a URI as an argument.  I would like an XPCOM method that
would parse RDF from a string or DOM object, and then have a way to add that
to an existing datasource.

It doesn't seem like we are very far from this capability, but it doesn't
seem to be possible currently.  Does anybody have a sense of

a) if this is a reasonable goal?
b) how hard it would be to expose this kind of functionality?


-thanks
-Tupshin




Reply via email to