Talk:RDF:Interfaces: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 36: Line 36:


Enn: rdfITripleVisitor.visit should just return true or false to continue iterating rather than using an incomprehsible system of error codes. In fact, I don't even know how I would get such a return code from JS.
Enn: rdfITripleVisitor.visit should just return true or false to continue iterating rather than using an incomprehsible system of error codes. In fact, I don't even know how I would get such a return code from JS.
I'll document how to get there from JS. Using bool return values is just extra-cumbersome from C++, and we need to handle errors anyway.
Preview docs:
Components.returnCode = Components.results.NS_RDF_STOP_VISIT;
though the exposure of RDF return codes isn't done yet. I had to find out how to do that, that would be useful in general. --[[User:AxelHecht|AxelHecht]] 01:46, 16 Jun 2005 (PDT)
Confirmed users, Bureaucrats and Sysops emeriti
2,976

edits