Error.Semantic When Variable Name is Not Supplied

I ran across an odd error in my log yesterday, and I could not make heads or tails of it:
SyntaxError: syntax error : ccxml. = 0;
As you might imagine, I certainly did not have <var name="ccxml." expr="0"/> anywhere in my code.

After writing Voxeo for help, I found the error simultaneously with their response. In my code, I found:
<var name="" expr="0"/>
Leaving the name of the variable blank causes the error. Of course, it does raise interesting questions about how to use this mysterious "ccxml" variable in other places in the code...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Variable Scopes

Moshe,

You have stumbled into the ecmascript object that models the ccxml variable scope. It's not really anything you normally would do anything with but all vars that are declared under the ccxml element become properties of this object.

RJ

Variable Scopes

Moshe,

You have stumbled into the ecmascript object that models the ccxml variable scope. It's not really anything you normally would do anything with but all vars that are declared under the ccxml element become properties of this object.

RJ