Gerrick; The general error means that function name you're calling isn't defined at <http://www.someurito/#jsfunction>. Make sure the name of your SPIN function URI and the function call line up.
My best guess is that you defined a function in an inline call and are trying to use that name? Defining a function inline is pretty limited and you can't define a named function. In general, the name of the function is always the SPIN function name (URI). If you want to call a named JavaScript function, you need to define it in a text file (.js is the convention) and use the same name to define a SPIN function that names the file in spinx:javaScriptFile. There are a couple of examples on using JavaScript at Help > SPIN> Using JavaScript to define SPIN/SPARQL Functions. -- Scott On May 10, 4:31 pm, Gerrick Bivins <[email protected]> wrote: > Hello all, > I have a SM script which defines an inline javascript function. When I try > to access it in my script, I'm getting the following error: > > *[TopBraid Warning] org.topbraid.eclipsex: WARN [pool-1-thread-3-TBL] > (ALog.java:48) - URI > <**http://www.someurito#jsfunction*<http://www.someurito/#jsfunction> > *> has no registered function factory > (Dummy to give stack trace.) > java.lang.Exception: Dummy to give stack trace.* > ... > > Any ideas what the cause of this could be? > Thanks in advance, > Gerrick > > -- > You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include TopBraid Composer, > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/topbraid-users?hl=en -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
