Page 1 of 1

missplaced 'catch' statement

Posted: Fri Sep 14, 2007 12:58 pm
by eb
I am testing on Plum an application that I have working on a different VXML platform.

I receive an error message refering to a missplaced 'catch' statement. Here is the error message:
DocumentParser::FetchDocument - Parse error in file "http://www.gasloc8.com/app/index.vxml", line 372, column 13 - Element 'catch' is not valid for content model: '(#PCDATA|audio|enumerate|value|assign|clear|data|disconnect|exit|foreach|goto|if|log|prompt|reprompt|return|script|submit|throw|var)*'
error 9057629839 35 [14/Sep/2007:10:38:46 -0400] 3566 000001;035;1189739927 errno: 205 uri http://www.gasloc8.com/app/index.vxml


Anyone can help about what the problem is? after all the catch statement is within a 'block' which supposed to be fine.

Thank you

misplaced 'catch' statement in IVR code

Posted: Fri Sep 14, 2007 1:12 pm
by support
Hi,

That is incorrect. A <catch> element cannot be placed within a <block>, since <block> is not a parent IVR tag of <catch>.

The IVR tags that allow <catch> to be within them are: <field>, <form>, <initial>, <menu>, <option>, <record>, <subdialog>, <transfer>, <vxml>.

Regards,
Plum Support