I'm using this code for testing
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE vxml PUBLIC "-//The Plum Group//DTD VOICEXML 2.1//EN" "/usr/local/plumvp/vxml.dtd">
<vxml version="2.1"
xmlns="http://www/w3/org/2001/VXML"
xml:lang="en-US">
<property name="documentmaxage" value="0s" />
<form id="mainDialog">
<field name="callerResponse">
<prompt>
You want to fly to New York. Is that correct?
</prompt>
<grammar type="application/srgs+xml" root="ROOT" mode="dtmf">
<rule id="ROOT">
<one-of>
<item>1</item>
<item>2</item>
<item>3</item>
</one-of>
</rule>
</grammar>
<filled>
<prompt> thank you </prompt>
<prompt>you said <value expr="callerResponse" /> </prompt>
</filled>
</field>
</form>
</vxml>
Code: Select all
Cache Hit: http://209.123.176.147
DocumentParser::FetchDocument - Parse error in file "http://209.123.176.147", line 2, column 6 - Unknown element 'html'
errno: 205 uri http://209.123.176.147
- There is no error retriving the document from the URL, You can out in that URL in the browser & it will return the vxml
- Im using ASP MVC for my web application
- When I validate the scratchpad everything is valid, However, when I validate the URL I'm receiving this error on line 3
Code: Select all
XML declaration allowed only at the start of the document in Entity