Valid Grammar, but Fails Inline
Posted: Wed Aug 29, 2007 5:22 am
I've got a simple valid inline grammar in my voicexml script:
<grammar mode="voice">
<rule id="ready">ready</rule>
</grammar>
The page with this grammar passes validation with your VoiceXML validator; it passes your grammar validation tool; and works as expecte with your grammar teser. It also works correctly in another company's hosted service.
However, each time I try this grammar, I get an error.grammar.inlined.
The Last Call Log shows
<?xml version='1.0'?>
<grammar xml:lang="en-US" mode="voice">
<rule id="ready" scope="private">ready</rule>
</grammar>
and the pre-pended <?xml?> statement isn't loved by your grammar validator, which make me wonder what's going on.
<grammar mode="voice">
<rule id="ready">ready</rule>
</grammar>
The page with this grammar passes validation with your VoiceXML validator; it passes your grammar validation tool; and works as expecte with your grammar teser. It also works correctly in another company's hosted service.
However, each time I try this grammar, I get an error.grammar.inlined.
The Last Call Log shows
<?xml version='1.0'?>
<grammar xml:lang="en-US" mode="voice">
<rule id="ready" scope="private">ready</rule>
</grammar>
and the pre-pended <?xml?> statement isn't loved by your grammar validator, which make me wonder what's going on.