PHP Classes

exit element validation

Recommend this page to a friend!

      VXML Parser  >  All threads  >  exit element validation  >  (Un) Subscribe thread alerts  
Subject:exit element validation
Summary:a misinterpretation of the standard for the exit element
Messages:1
Author:Adam Meehan
Date:2007-06-13 09:29:35
 

  1. exit element validation   Reply   Report abuse  
Picture of Adam Meehan Adam Meehan - 2007-06-13 09:29:35
Hi,
Thanks for the parser just having a play with it. I found the validation incorrectly suggests that <exit> element requires either the namelist or expr attribute. According to the standard
w3.org/TR/voicexml20/#dml5.3.9

It states that:
"Exactly one of "expr" or "namelist" may be specified; otherwise, an error.badfetch event is thrown."

I would interpret this as one or none of the attributes can be specified not both. Not that one must be specified. As you can see from the initial example of the syntax in the it is without an attribute.

Also as a reference the voxeo VXML 2.1 documentation also states that they are optional.
vxml.org/frame.jsp?page=exit.htm

Anyway I thought I would help clear up that.

Thanks again.
Adam