<voice> tag w/i <choice> issue
Posted: Wed Jul 28, 2004 11:19 am
The <voice> tag w/i a choice tag is generating an bad fetch error. The validator does in fact give an error, however, <voice> should be a valid child tag of <choice> (per plum online reference and other sources). Or am I missing something? Thanks.
[/code]
Code: Select all
Validation Results:
Error at line 12, char 79
Message: Element 'voice' is not valid for content model: '(#PCDATA|grammar)*'
Code: Select all
<?xml version='1.0'?>
<vxml version="2.0" application="global.xml">
<menu id="mainmenu">
<prompt>
<voice name="audrey">
Press 1 to record.
Press 2 for help.
Press 3 to end call.
</voice>
</prompt>
<choice dtmf="1" next="#record"><voice name="audrey">Record</voice></choice>
<choice dtmf="2" next="#help">Help</choice>
<choice dtmf="3" next="#end">End Call</choice>
</menu>
</vxml>