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

RE: VoiceXML 2.0 DTD does not match to examples

From: McGlashan, Scott <scott.mcglashan@hp.com>
Date: Wed, 9 Feb 2005 17:09:05 +0100
Message-ID: <990C7D7B4096DC49B7BDB5D4F56E5B9FE42FAB@sooexc02.emea.cpqcorp.net>
To: "Dirk Schnelle" <dirk@tk.informatik.tu-darmstadt.de>, <www-voice@w3.org>

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 Wednesday, 9 February 2005 16:10:39 GMT

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