Copyright © 2008 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.
The W3C Voice Browser working group aims to develop specifications to enable access to the Web using spoken interaction. This document is part of a set of requirement studies for voice browsers, and provides details of the requirements for marking up spoken dialogs.
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.
This is the 8 August 2008 W3C Working Draft of "Voice Extensible Markup Language (VoiceXML) 3.0 Requirements".
This document describes the requirements for marking up dialogs for spoken interaction required to fulfill the charter given in the Voice Browser Working Group Charter, and indicates how the W3C Voice Browser Working Group has satisfied these requirements via the publication of working drafts and recommendations. This is a First Public Working Draft. The group does not expect this document to become a W3C Recommendation.
This document has been produced as part of the W3C Voice Browser Activity, following the procedures set out for the W3C Process. The authors of this document are members of the Voice Browser Working Group. You are encouraged to subscribe to the public discussion list <[email protected]> and to mail us your comments. To subscribe, send an email to <[email protected]> with the word subscribe in the subject line (include the word unsubscribe if you want to unsubscribe). A public archive is available online.
This specification is a Working Draft of the Voice Browser working group for review by W3C members and other interested parties. It is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use W3C Working Drafts as reference material or to cite them as other than "work in progress".
This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. The group does not expect this document to become a W3C Recommendation. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.
Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
The main goal of this activity is to establish the current status of the Voice Browser Working Group Activities relative to the requirements defined in Previous Requirements Document and define additional requirements to drive future Voice Browser Working Group activities based on Voice Community experience with existing standards
The process will consist of the following steps:
The previous requirements definition activity focused on defining three types of requirements on the voice markup language: modality, functional, and format.
The environment and capabilities of the voice browser interpreting the markup language affects these requirements. There may be differences in the modality and functional requirements for desktop versus telephony-based environments (and in the latter case, between fixed, mobile and Internet telephony environments). The capabilities of the voice browser device also impacts on requirements. Requirements affected by the environment or capabilities of the voice browser device will be explicitly marked as such.
Although defining a dialog is highly problematic, some basic definitions
must be provided to establish a common basis of understanding and avoid
confusion. The following terminology is based upon an event-driven model of
dialog interaction.
Voice Markup Language | a language in which voice dialog behavior is specified. The language may include reference to style and scripting elements which can also determine dialog behavior. |
---|---|
Voice Browser | a software device which interprets a voice markup language and generates a dialog with voice output and/or input, and possibly other modalities. |
Dialog | a model of interactive behavior underlying the interpretation of the markup language. The model consists of states, variables, events, event handlers, inputs and outputs. |
State | the basic interactional unit defined in the markup language; for example, an < input > element in HTML. A state can specify variables, event handlers, outputs and inputs. A state may describe output content to be presented to the user, input which the user can enter, event handlers describing, for example, which variables to bind and which state to transition to when an event occur. |
Events | generated when a state is executed by the voice browser; for example, when outputs or inputs in a state are rendered or interpreted. Events are typed and may include information; for example, an input event generated when an utterance is recognized may include the string recognized, an interpretation, confidence score, and so on. |
Event Handlers | are specified in the voice markup language and describe how events generated by the voice browser are to be handled. Interpretation of events may bind variables, or map the current state into another state (possibly itself). |
Output | content specified in an element of the markup language for presentation to the user. The content is rendered by the voice browser; for example, audio files or text rendered by a TTS. Output can also contain parameters for the output device; for example, volume of audio file playback, language for TTS, etc. Events are generated when, for example, the audio file has been played. |
Input | content (and its interpretation) specified in an element of the markup language which can be given as input by a user; for example, a grammar for DTMF and speech input. Events are generated by the voice browser when, for example, the user has spoken an utterance and variables may be bound to information contained in the event. Input can also specify parameters for the input device; for example, timeout parameters, etc. |
The dialog requirements for the voice markup language are annotated with
the following priorities. If a feature is deferred from the initial
specification to a future release, consideration may be given to leaving open
a path for future incorporation of the feature.
must have | The first official specification must define the feature. |
---|---|
should have | The first official specification should define the feature if feasible but may defer it until a future release. |
nice to have | The first official specification may define the feature if time permits, however, its priority is low. |
future revision | It is not intended that the first official specification include the feature. |
1.1.1 The markup language specifies that content is to be simultaneously rendered in multiple modalities (e.g. audio and video) and that output rendering is coordinated. For example, graphical output on a cellular telephone display is coordinated with spoken output.
1.2.1 The markup language specifies that content is to be simultaneously rendered in multiple modalities (e.g. audio and video) and that output rendering is uncoordinated. For example, graphical output on a cellular telephone display is uncoordinated with spoken output.
These requirements are intended to ensure that the markup language is capable of specifying cooperative dialog behavior characteristic of state-of-the-art spoken dialog systems. In general, the voice browser should compensate for its own limitations in knowledge and performance compared with equivalent human agents; for example, compensate for limitations in speech recognition capability by confirming spoken user input when necessary.
The acoustic verification may compare speech samples to an existing model (kept in some, possibly external, repository) of that speaker's voice. A verification result returns a value indicating whether the acoustic and knowledge tests were accepted or rejected. Results for verification and results for recognition may be returned simultaneously.
Note: The security administrator's interface is out-of-scope for VoiceXML.
SIV features such as enrollment and verification are voice dialogs. SIV must be compatible and complementary with other VoiceXML 3.0 dialog constructs such as speech recognition.
SIV features must be part of VoiceXML 3.0 but may not be needed in all application scenarios or implementations. Not all voice dialogs need SIV.
Some SIV processing techniques operate without using any ASR.
Some applications require the use of SIV along with other means of authentication: biometric (e.g. fingerprint, hand, retina, DNA) or non-biometric (e.g. caller ID, geolocation, personal knowledge, etc.).
SIV processing engines and network protocols (e.g. MRCP) generate events related to their operation and use. These events must be made available in a manner consistent with other VoiceXML events. Event naming structure must allow for vendor-specific and application-specific events.
These properties are provided to configure the operation of the SIV processing engines (analogous to "Generic Speech Recognition Properties" defined in VoiceXML 2.0 Section 6.3.2).
Note that this does not require EMMA in all cases, such as non-VoiceXML 3.0 environments. This also does not specify the version of EMMA.
VoiceXML 3.0 must specify the format of the result structure and version of EMMA.
This includes:
The following security aspects are out-of-charter for VoiceXML:
Enrollment is the process of collecting voice samples from a person and the subsequent generation and storage of voice reference models associated with that person.
Verification is the process of comparing an utterance against a single reference model based on a single claimed identity (e.g., user ID, account number). A verification result includes both a score and a decision.
Identification is verification with multiple identity claims. An identification result includes both the verification results for all of the individual identity claims, and the identifier of a single reference model that matches the input utterance best.
The application should have control over whether a voice model is updated
or modified based on the results of a verification.
An application developer must be able to specify at the individual turn level that one or more of the following types of processing need to be performed concurrently:
Concurrent processing of other forms of audio processing (e.g., channel detection, gender detection) should also be permitted but remain optional.
Text-prompted SIV applications require prompts to match the expected response. The application is responsible for the content of the dialog but VoiceXML is responsible for the presentation.
Many different SIV processing technologies exist. The VoiceXML 3.0 SIV architecture should avoid dependencies upon specific engine technologies.
The exact form of navigation will depend on the format and decisions around the preferred data model made by the working group. If the result is a string, string processing functions are expected to be available. If the result is an XML document, DOM or E4X-like functions are expected to be supported.
VoiceXML 3 will declare one or more mandatory result formats.
This will allow the author to prevent logging of confidential or sensitive information.
Form item recording mode (Requirements section 2.10.1.1 and 2.10.1.2) captures media from the caller (only) during the collect phase of a dialog. Partial- and Whole-Session recording captures media from the caller, system, and/or called party (in the cases of a transferred endpoint) in a multichannel or single (mixed) channel recording. Duration of these recordings depends on the type.
Utterance recording mode is recording that occurs during an ASR or SIV form item. The audio may be endpointed, usually by the speech engine.
Session recording begins with a start command. It continues until:
Recording configuration and parameter requirements are defined in Section 2.10.2.
Restricted session recording begins with a start command and continues until:
See Table 1 for applicable controls.
This matrix specifies which features apply to which recording types.
Feature Requirement / Recording type |
Dialog | Utterance | Session | Restricted Session |
2.10.2.1 Recording starts when caller begins speaking | Y | Y | N | N |
2.10.2.2 Initial silence interval cancels recording | Y | N | N | N |
2.10.2.3 Final silence ends recording | Y | N | N | N |
2.10.2.4 Maximum recording time | Y | N | N | N |
2.10.2.5 Terminate recording with DTMF input | Y | N | N | N |
2.10.2.6 Grammar control: modal operation | Y | N | N | N |
2.10.2.7 Media format | Y | Y | Y | Y |
2.10.2.8 Recording indicator | N | N | Y | N |
2.10.2.9 Channel assignment | N | N | Y | Y |
2.10.2.10 Channel groups | N | N | Y | Y |
2.10.2.11 Buffer control | Y | Y | N | N |
Table 1: Recording Configuration and Parameter Application
(Attributes from VoiceXML 2.0 are indicated in brackets [].)
VoiceXML 3.0 must support dynamic start-of-recording based on when a caller starts to speak
Voice Activity Detection used to determine when to initiate recording. This feature can be disabled.
VoiceXML 3.0 must support specification of an interval of silence at the beginning of the recording cycle to terminate recording [timeout].
A noinput event will be thrown if no audio is collected.
VoiceXML 3.0 must support specification of an interval of silence that indicates end of speech to terminate recording [finalsilence]
Voice Activity Detection used to determine when to stop recording. This feature can be disabled.
Finalsilence interval may be used to specify the amount of silent audio to be removed from the recording.
VoiceXML 3.0 must support specification of the maximum allowable recording time [maxtime].
VoiceXML 3.0 must provide a mechanism to control DTMF termination of an active record [dtmfterm]
VoiceXML 3.0 must enable specification of the media type of the recording [type]
Use cases:
These groups can be used to simultaneously apply other recording controls to more than one media channel (e.g. mute two channels simultaneously). Applies whether channels are in same file or in separate files (implies concept of group of channels *not* part of the same file).
A command to "start recording" must specify the details for that recording session:
The duration provided by the platform is up to the amount of audio the application requested. If that amount of audio is not available, the platform is required to provide the amount of audio that is available.
If video, repeat until un-blank.
The mechanism is platform-specific.
Recording is available for playback or upload once a recording is 'stopped'.
If a recording was stopped and uploaded, then later appended, the application will need to keep track of when to upload the new version.
Note: This does not mean all possible media types are supported on all platforms.
DEFAULT: specific to each processing type
Use cases:
DEFAULT: Tones are not removed from the recording
DEFAULT: If tone clamping is enabled, it is performed after recording has completed (not in real-time).
DEFAULT: raw
Editor's note: how to specify:Errors and events as a result of media recording must be presented to the application
Examples of types of errors possibly reported:
This does not imply platform support requirements. For example, a particular platform may support Audio Basic but not Audio Rich. Another might support Audio Rich but not all meta data elements.
TBD.
TBD.
A flow control language will be developed in conjunction with VoiceXML 3.0 (i.e. SCXML)
There must be at least one profile of VoiceXML 3.0 in which all of the following requirements are supported.
In particular, the following deferred CRs reevaluated: R51, R92, R104, R113, R145, R155, R156, R186, R230, R233, R348, R394, R528, R541, and R565.
In particular, the following unassigned CRs reevaluated: R600, R614, R619, R620, R622, R623, R624, R625, R626, R627, R628, R629, R631, and R632.
TBD
The following requirements have been satisfied by previous Voice Browser Working Group Specifications
The markup language can specify which spoken user input is interpreted by the voice browser, as well as the content rendered as spoken output by the voice browser.
Audio output: <prompt>, <audio> VoiceXML 2.0
Audio input: <grammar> SRGS 1.0
The markup language specifies that user input from multiple modalities is to be interpreted by the voice browser. There is no requirement that the input modalities are simultaneously active. For example, a voice browser interpreting the markup language in a telephony environment could accept DTMF input in one dialog state, and spoken input in another.
<grammar> mode attribute: dtmf,voice SRGS 1.0
The markup language specifies that user input from different modalities is to be interpreted at the same time. There is no requirement that interpretation of the input modalities are co-ordinated. For example, a voice browser in a desktop environment could accept keyboard input or spoken input in same dialog state.
<grammar> mode attribute: dtmf,voice SRGS 1.0
<field> defining multiple <grammar>s with different mode attribute values VoiceXML 2.0
The markup language specifies that user input from multiple modalities is interpreted at the same time and that interpretation of the inputs are co-ordinated by the voice browser. For example, in a telephony environment, the user can type200 on the keypad and say transfer to checking account and the interpretations are co-ordinated so that they are understood as transfer 200 to checking account.
<grammar> mode attribute: dtmf,voice SRGS 1.0
<field> defining multiple <grammar>s with different mode attribute values VoiceXML 2.0
The markup language specifies that content is rendered in multiple modalities by the voice browser. There is no requirement the output modalities are rendered simultaneously. For example, a voice browser could output speech in one dialog state, and graphics in another.
<prompt>, <audio> VoiceXML 2.0
The markup language specifies that content is rendered in multiple modalities at the same time. There is no requirement the rendering of output modalities are co-ordinated. For example, a voice browser in a desktop environment could display graphics and provide audio output at the same time.
<prompt>, <audio> VoiceXML 2.0
The markup language specifies that content is to be simultaneously rendered in multiple modalities and that output rendering is co-ordinated. For example, graphical output on a cellular telephone display is co-ordinated with spoken output.
<prompt>, <audio> VoiceXML 2.0
Mixed initiative refers to dialog where one participant take the
initiative by, for example, asking a question and expects the other
participant to respond to this initiative by, for example, answering the
question. The other participant, however, responds instead with an initiative
by asking another question. Typically, the first participant then responds to
this initiative, before the second participant responds to the original
initiative. This behavior is illustrated below:
S-A1: When do you want to fly to Paris?
U-B1: What did you say?
S-B2: I said when do you want to fly to Paris?
U-A2: Tuesday.
where A1 is responded to in A2 after a nested interaction, or sub-dialog in B1 and B2. Note that the B2 response itself could have been another initiative leading to further nesting of the interaction.
The form-level mixed initiative requirement is that the markup language can specify to the voice browser that it can take the initiative when user expects a response, and also allow the user to take the initiative when it expects a response where the content of these initiatives is relevant to the task at hand, contains navigation instructions or concerns general meta-communication issues. This mixed initiative requirement is particularly important when processing form input (hence the name) and is further elaborated in requirements A.2.1.1, A.2.1.2, A.2.1.3 and A.2.1.4 below.
<field> VoiceXML 2.0
<noinput>, <nomatch> VoiceXML 2.0
The markup language can specify that a clarification sub-dialog should be
performed when the user provides incomplete, form-related information. For
example, in a flight enquiry service, the departure city and date may be
required but the user does not always provide all the information at once:
S1: How can I help you?
U1: I want to fly to Paris.
S2: When?
U1: Monday
U1 is incomplete (or 'underinformative') with respect to the service (or form) and the system then initiates a sub-dialog in S2 to collect the required information. If additional parameters are required, further sub-dialogs may be initiated.
<initial>, <field> VoiceXML 2.0
The markup language can specify that a confirmation sub-dialog is to be
performed when the confidence associated with the interpretation of the user
input is too low.
U1: I want to fly to Paris.
S1: Did you say 'I want a fly to Paris'?
U2: Yes.
S2: When?
U3: ...
Note confirmation sub-dialogs take precedence over clarification sub-dialogs.
<field> VoiceXML 2.0
name$.confidence shadow variable VoiceXML 2.0
The markup language can specify that unsolicited user input in a
sub-dialog which corrects earlier input is to be interpreted appropriately.
For example, in a confirmation sub-dialog users may provide corrective
information relevant to the form:
S1: Did you say you wanted to travel from Paris?
U1: No, from Perros. (modification)
U1': Yes, from Paris (repetition)
<field> VoiceXML 2.0
$GARBAGE rule SRGS 1.0
The markup language can specify that unsolicited user input in a
sub-dialog which is not corrective but additional, relevant information for
the current form is to be interpreted appropriately. For example, in a
confirmation sub-dialog users may provide additional information relevant to
the form:
S1: Did you say you wanted to travel from Paris?
U1: Yes, I want to fly to Paris on Monday around 11.30
<initial>, <field> VoiceXML 2.0
form level <grammar>s VoiceXML 2.0, SRGS 1.0
The markup language needs to address mixed initiative in dialogs which involve more than one task (or topic). For example, a portal service may allow the user to interact with a number of specific services such as car hire, hotel reservation, flight enquiries, etc, which may be located on the different web sites or servers. This requirement is further elaborated in requirements A.2.2.1, A.2.2.2, A.2.2.3, A.2.2.4 and A.2.2.5 below.
The markup language can specify how users can explicitly switch from one task to another. For example, by means of a set of global commands which are active in all tasks and which take the user to a specific task; e.g. Take me to car hire, Go to hotel reservations.
<link>, <goto>, <submit> VoiceXML 2.0
form level <grammar>s VoiceXML 2.0, SRGS 1.0
The markup language can specify how users can implicitly switch from one task to another. For example, by means of simply uttering a phrases relevant to another task; I want to reserve a McLaren F1 in Monaco next Wednesday.
<link>, <goto>, <submit> VoiceXML 2.0
form level <grammar>s VoiceXML 2.0, SRGS 1.0
The markup language can specify how users can explicitly return to a previous task at any time. For example, by means of global task navigation commands such as previous task.
<link>, <goto> VoiceXML 2.0
The markup language can specify that users can automatically return to the previous task upon completion or explicit cancellation of the current task.
<link>, <goto> VoiceXML 2.0
The markup language can specify that when task switching occurs the previous task is suspended rather than canceled. Thus when the user returns to the previous task, the interaction is resumed at the point it was suspended.
<link> VoiceXML 2.0
The markup language can specify help information when requested by the
user. Help information should be available in all dialog states.
S1: How can I help you?
U1: What can you do?
S2: I can give you flight information about flights between major cities
world-wide just like a travel agent. How can I help you?
U1: I want a flight to Paris ...
Help information can be tapered so that it can be elaborated upon on subsequent user requests.
<help> using count attribute for tapering VoiceXML 2.0
The markup language can specify how error events generated by the voice
browser are to be handled. For example, by initiating a sub-dialog to
describe and correct the error:
S1: How can I help you?
U1: <audio but no interpretation>
S2: Sorry, I didn't understand that. Where do you want to travel to?
U2: Paris
The markup language can specify how specific types of errors encountered in spoken dialog, e.g. no audio, too loud/soft, no interpretation, no audio, internal error, etc, are to be handled as well as providing a general 'catch all' method.
<error>, <nomatch>, <noinput>, <catch> VoiceXML 2.0
The markup language can specify what to do when the voice browser times
out waiting for input; for example, a timeout event can be handled by
repeating the current dialog state:
S1: Did you say Monday?
U1: <timeout>
S2: Did you say Monday?
Note that the strategy may be dependent upon the environment; in a desktop environment, repetition for example may be irritating.
<noinput>, <catch> VoiceXML 2.0
The markup language specifies a set of meta-command functions which are available in all dialog states; for example, repeat, cancel, quit, operator, etc.
The precise set of meta-commands will be co-ordinated with the Telephony Speech Standards Committee.
The markup language should specify how the scope of meta-commands like 'cancel' is resolved.
Universal Grammars VoiceXML 2.0
The markup language specifies when the user is able to bargein on the system output, and when it is not allowed.
Note: The output device may generate timestamped events when barge-in occurs (see 3.9).
bargein property VoiceXML 2.0
The markup language specifies a mechanism to allow transfer of the caller to another line in a telephony environment. For example, in cases of dialog breakdown, the user can be transferred to an operator (cf. 'callto' in HTML). The markup language also provides a mechanism to deal with transfer failures such as when the called line is busy or engaged.
<transfer> VoiceXML 2.0
<createcall>, <redirect> CCXML 1.0
The markup language provides a mechanism to terminate the session (cf. user-terminated sessions via a 'quit' meta-command in 2.6).
Universal Grammars VoiceXML 2.0
The markup language must support a generic component interface to allow for the use of external components on the client and/or server side. The interface provides a mechanism for transferring data between the markup language's variables and the component. Examples of such data are: configuration parameters (such as timeouts), and events for data input and error codes. Except for event handling, a call to an external component does not directly change the dialog state, i.e. the dialog continues in the state from which the external component was called.
Examples of external components are pre-built dialog components and server scripts. Pre-built dialogs are further described in Section A.3.3. Server scripts can be used to interact with remote services, devices or databases.
<property> VoiceXML 2.0
<submit> namelist attribute, <submit>, <goto> query string VoiceXML 2.0
The markup language should be easy for designers to understand and author without special tools or knowledge of vendor technology or protocols (dialog design knowledge is still essential).
Form Interpretation Algorithm (FIA) VoiceXML 2.0
The markup language allows designers to rapidly develop simple dialogs without the need to worry about interactional details but also allow designers to take more control over interaction to develop complex dialogs.
Form Interpretation Algorithm (FIA) VoiceXML 2.0
The markup language complies with the requirements of the Reusable Dialog Components Subgroup.
The markup language can specify a number of pre-built dialog components. This enables one to build a library of reusable 'dialogs'. This is useful for handling both application specific input types, such as telephone numbers, credit card number, etc as well as those that are more generic, such as times, dates, numbers, etc.
<subdialog> VoiceXML 2.0
Dialogs, states, inputs and outputs can be referenced by a URI in the markup language.
<form> id attribute, form item name attribute VoiceXML 2.0
Variables can be defined and assigned values.
Variables can be scoped within namespaces: for example, state-level, dialog-level, document-level, application-level or session-level. The markup language defines the precise scope of all variables.
The markup language must specify if variables are atomic or structured.
Variables can be assigned default values. Assignment may be optional; for example, in a flight reservation form, a 'special meal' variable need not be assigned a value by the user.
Variables may be referred to in the output content of the markup language.
The precise requirements on variables may be affected by W3C work on modularity and XML schema datatypes.
<var>, <assign>, <script> VoiceXML 2.0
User input can bind one or more state variables. A single input may bind a
single variable or it may bind multiple variables in any order; for example,
the following utterances result in the same variable bindings
application.lastresult$.interpretation VoiceXML 2.0
The markup language provides an explicit event handling mechanism for specifying actions to be carried out when events are generated in a dialog state.
Event handlers can be ordered so that if multiple event handlers match the current event, only the handler with the highest ranking is executed. By default, event handler ranking is based on proximity and specificity: i.e. the handler closest in the event hierarchy with the most specific matching conditions.
Actions can be conditional upon variable assignments, as well as the type and content of events (e.g. input events specifying media, content, confidence, and so on).
Actions include: the binding of variables with information, for example, information contained in events; transition to another dialog state (including the current state).
<catch> VoiceXML 2.0
<transition> CCXML 1.0
The markup language can provide implicit event handlers which provide default handling of, for example, timeout and error events as well as handlers for situations, such as confirmation and clarification, where there is a transition to a implicit dialog state. For example, there can be a default handler for user input events such that if the recognition confidence score is below a given threshold, then the input is confirmed in a sub-dialog.
Properties of implicit event handlers (thresholds, counters, locale, etc) can be explicitly customized in the markup language.
Implicit event handlers are always overridden by explicit handlers.
Default event handlers (nomatch, noinput, error, etc...) VoiceXML 2.0
The markup language complies with the requirements developed by the Speech Synthesis Markup Subgroup for output text content and parameter settings for the output device. Requirements on multimodal output will be co-ordinated by the Multimodal Interaction Subgroup (cf. Section 1).
In addition, the markup supports the following output features (if not already defined in the Synthesis Markup):
The output device generates timestamped events including error events and progress events (output started/stopped, current position).
<audio>, <prompt> VoiceXML 2.0
<speak> and other SSML elements SSML 1.0
application.lastresult$.markname, application.lastresult$.marktime VoiceXML 2.1
The markup language allows for richer output than variable substitution in the output content. For example, natural language generation of output content.
<prompt> VoiceXML 2.0
<speak> and other SSML elements SSML 1.0
The markup language complies with the requirements developed by the Grammar Representation Subgroup for the representation of speech grammar content. Requirements on multimodal input will be co-ordinated by the Multimodal Interaction Subgroup (cf. Section 1).
The markup language can specify the activation and deactivation of multiple speech grammars. These can be user-defined, or builtin grammars (digits, date, time, money, etc).
The markup language can specify parameters for speech grammar content including timeout parameters --- maximum initial silence, maximum utterance duration, maximum within-utterance pause --- energy thresholds necessary for bargein, etc.
The input device generates timestamped events including input timeout and error events, progress events (utterance started, interference, etc), and recognition result events (including content, interpretation/variable bindings, confidence).
In addition to speech grammars, the markup language allows input content and events to be specified for DTMF and keyboard devices.
timeout, completetimeout, incompletetimeout, interdigittimeout, termtimeout properties VoiceXML 2.0
application.lastresult$.interpretation, application.lastresult$.confidence VoiceXML 2.0
application.lastresult$.markname, application.lastresult$.marktime VoiceXML 2.1
<grammar> and other elements SRGS 1.0
One key difference between contemporary event models (e.g. DOM Level 2, 'try-catch' in object-oriented programming) is whether the same event can be handled by more than one event handler within the hierarchy. The markup language must motivate whether it supports this feature or not.
For development and testing it is important that data and events are to be logged by the voice browser. At the most detailed level, this will include logging of input and output audio data. A mechanism which allows logged data to be retrieved from a voice browser, preferably via standard Internet protocol (http, ftp, etc), is also required.
One approach is to require that the markup language can control logging via, for example, an optional meta tag. Another approach is for logging to be controlled by means other than the markup language, such as via proprietary meta tags.
<log> VoiceXML 2.0
<log> CCXML 1.0