Will clarify that
1) In response to a RECOGNIZE request, a 407 means there was a failure and
should be return request-state COMPLETE. There will no more messages or events.
2) In a failure response there can be only one Failed URI and an associated
Failed URI-Cause.
3) DEFINE-GRAMMAR MUST load and compile all of its grammars before returning a
COMPLETE response. The resource MAY stop its load/compile operation at the first
sign of error.
4) RECOGNIZE MUST ensure that all of its grammars are loaded and compiled before
returning any response. If there is a failure in the load or compile of a
grammar the first response to the request will be a failure response.
5) Vendors whose recognizers can distinguish between a compile failure and a
failure to load a previously-compiled grammar SHOULD use error 005 to
distinguish the former from the latter (which would be error 004).
For discussion on this topic, see the email thread beginning with
http://www1.ietf.org/mail-archive/web/speechsc/current/msg01797.html.
|