Subj : Re: Rhino 1.5R4_1 problem with try/catch, WITH, GETBASE To : Laura Werner From : Brendan Eich Date : Mon Jun 09 2003 03:11 pm Laura Werner wrote: > Hi all, > > I'm having a weird Rhino problem that I don't understand, and I'm > hoping someone here can help. First some background: I have Rhino > embedded in our (BeVocal's) VoiceXML interpreter. I create my own > ScriptableObject implementation that I use as the global scope. Each > time a new VoiceXML scope is entered, I create a new ScriptableObject > to use as that scope, and set its parent scope to the previous scope > on my stack, then push the new one. Why don't all scopes other than the global one you describe below descend via parent from the global scope? If they did, things would work as you expect, I bet. Why does each script need its own scope object to execute? Is that part of the VXML DOM spec? I defer to Igor on Rhino questions, but this question could come up with SpiderMonkey, _mutatis mutandis_. /be .