We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

missplaced 'catch' statement

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
eb
Posts: 1
Joined: Fri Sep 14, 2007 12:48 pm

missplaced 'catch' statement

Post 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

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

misplaced 'catch' statement in IVR code

Post 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

Post Reply