W3C home > Mailing lists > Public > www-voice@w3.org > April to June 2007

CCXML : Query regarding error.semantic

From: murulidhara <murulidharar@huawei.com>
Date: Tue, 03 Apr 2007 17:35:57 +0530
To: www-voice@w3.org
Message-id: <004d01c775e8$7119fee0$eb04120a@china.huawei.com>

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.


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:39 UTC