W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2003

Re: speak tags in VXML 2.0

From: Lutz Birkhahn <lbirkhahn@adomo.com>
Date: Tue, 1 Jul 2003 18:45:23 -0700
To: www-voice@w3.org
Message-Id: <03070118452304.16449@leia>

Roopa Trivedi wrote:
> Section 4.1.1 of the VXML 2.0 spec mentions that the contents of the
> <prompt> element are modelled on SSML. It does not clearly specify if
> the speak tags that SSML requires (<speak> and </speak> in the beginning
> and end of the marked up text respectively) are needed within the
> <prompt> element in VXML. Do we not need these tags in case of VXML?

I think the text in 4.1.1 is fairly clear that <speak> is not part of the
<prompt> contents (especially by omitting it from Table 34). Also, all the
examples in 4.1 do not include the <speak> element.

It's even more clear when looking at the DTD (Appendix B), the comment
for <prompt> reads:

  Prompt is modelled on SSML 1.0 DTD speak element:
  - addition of 'bargein', 'bargeintype', 'cond', 'count' and 'timeout'
    attributes
  - removal of xmlns, xmlns:xsi, and xsi:schemaLocation attributes
  - version attribute fixed as "1.0"

and of course the DTD does not include the <speak> element. So <prompt>
is basically the replacement for <speak> in original SSML.

Also note that 4.1.1 does not say "the content of the <prompt> element
*is* an SSML document", but it says, "...is modelled on [...] SSML", and
it also describes some exceptions / additions to SSML.

But I agree insofar that it would be nicer if we could just include the
original SSML DTD into the VXML DTD as content of the <prompt> element.
I'm sure the authors of VXML had their reasons not to do so, though...

BTW, same goes for the <grammar> element and it's relation to SRGS.

/lutz

-- 
Lutz Birkhahn                                       System Software Engineer
Adomo Inc. --  10001 N. De Anza Boulevard Suite 220  --  Cupertino, CA 95014
Received on Tuesday, 1 July 2003 21:47:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 October 2006 12:48:58 GMT