W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2005

Re: VoiceXML 2.0 DTD does not match to examples

From: Dirk Schnelle <dirk@tk.informatik.tu-darmstadt.de>
Date: Thu, 10 Feb 2005 14:12:21 +0100
Message-ID: <420B5DB5.8010408@tk.informatik.tu-darmstadt.de>
To: "McGlashan, Scott" <scott.mcglashan@hp.com>
Cc: www-voice@w3.org

Yes, you are right.

Seems to me that I was a bit too confused when I hunted through it.
Thanks for the clarification.

/dirk

McGlashan, Scott wrote:
> Hi Dirk,
> 
> I tested <value> inside <block> out with the current DTD and it works
> fine with xerces (version 240 java build). The DTD should allow <value>
> inside a <block>, <prompt> and <log> since:
> 
> <!ENTITY % audio "#PCDATA | audio | enumerate | value">
> 
> <!ENTITY % executable.content "%audio; | assign | clear | disconnect | 
>                                exit | goto | if | log | prompt | 
> 	reprompt | return | script | submit | throw | var ">
> 
> <!ELEMENT block (%executable.content;)*>
> 
> i.e. <block> allows (the expansion of) executable.content entity, which
> in turn allows (the expansion of) the audio entity and it allows the
> <value> element.
> 
> Could this be a problem with your DTD parser? Does it allow you to put
> <enumerate> or <audio> inside a <block>?  
> 
> Let me know if still have a problem with this.
> 
> Thanks
> 
> Scott
> 
>      
> 
> -----Original Message-----
> From: www-voice-request@w3.org [mailto:www-voice-request@w3.org] On
> Behalf Of Dirk Schnelle
> Sent: Wednesday, February 09, 2005 13:48
> To: www-voice@w3.org
> Subject: VoiceXML 2.0 DTD does not match to examples
> 
> 
> Hi all,
> 
> I just subscribed to the list to clarify a problem regarding the
> VoiceXML 2.0 specification.
> 
> When I look at the example in chapter 1.5.1 [1] it shows me that I can
> use a value-tag in a block-tag.
> This is also valid according to the schemas [2] but not to the DTD [3].
> 
> Following the DTD a value is not allowed outside prompt and log.
> 
> Fact is the DTD does not match to the specification. Any clarification
> on this would be helpful.
> 
> /dirk
> 
> 
> 
> [1] http://www.w3.org/TR/voicexml20/#dml1.5.1
> [2] http://www.w3.org/TR/voicexml20/#dmlASchema
> [3] http://www.w3.org/TR/voicexml20/vxml.dtd
>  
> 
> 
Received on Thursday, 10 February 2005 13:10:37 GMT

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