CCXML : Query regarding error.semantic

Hi,

Currently Spec Says 

"It is illegal to make an assignment to a variable that has not been
explicitly declared using <var> or a var statement within a <script>.
Attempting to assign to an undeclared variable causes an error.semantic
event to be thrown."

But , is this applicable to accessing also : 

For ex:

<log expr ="varable_1"/>

variable_1 is not declared in entire document.

And log won't modify or assign value to variable_1.

Does this cause error.semantic to be thrown by interpreter. Currently spec
does not say accessing must result in throwing error.semantic. 

One more typical example will be :

Accessing an optional attribute in an event. Using
event$.optinal_attribute_name , does interpreter throw error.semantic if
optinal_attribute_name is not set while throwing event to ccxml interpreter.

Regards,

Murali Dhara R

 

 

This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

 

Received on Tuesday, 3 April 2007 12:06:13 UTC