RE: Please redefine foreach element as it is in VoiceXML 2.1 CR

Teemu Tingander and Ken Waln:

Thank you for your detailed comments [1][2] regarding the <foreach> element
in the VoiceXML 2.1 Candidate Recommendation.  The semantics of this element
have been the subject of much discussion within the working group.  We have
tried to clarify the text in several areas while maintaining much of the
enhanced expressive power.

The Voice Browser Working Group has received a series of concerns about the
content model of the <foreach> element.  We have considered the issues
raised and examined a number of use cases.  The result of this process is
that the content model of the <foreach> element will be altered.

    When the <foreach> appears within a <prompt> element, it will
    have the same content model as the <enumerate> element.  This
    allows application authors to perform prompt concatenation of
    Array content.  When the <foreach> element appears in
    executable content (other than within a <prompt>), any 
    executable content may appear.  This introduces a looping 
    construct in executable content which is otherwise difficult 
    to author.

These two content models will be enforced in the VoiceXML 2.1 schema.

We hope to publish a new draft shortly and we welcome your review of the
updated text.

[1] http://lists.w3.org/Archives/Public/www-voice/2005AprJun/0065.html
[2] http://lists.w3.org/Archives/Public/www-voice/2005AprJun/0064.html

Received on Monday, 11 September 2006 17:18:20 UTC