Some problems with the VoiceXML conformance test

Dirk Schnelle-Walka <[email protected]>
Newsgroups gmane.comp.web.voice
Message-ID <[email protected]>
Hey there,

since I am not a member, I am not able to send this email to
[email protected] as indicated on [1].

Nevertheless, I found some problems with the public available test suite
that is available for download and want to share them.

file:
vxml21_0.0.5/txml/30/30.xml contains a dublicate ending of files
Is:
<?xml version="1.0"?>
<!-- @ Copyright 2005 W3C (MIT, ERCIM, Keio), All Rights Reserved. See
http://www.w3.org/Consortium/Legal/. @ -->
<?access-control allow="*"?>
<files>
  <file name="30.xml"></file>
</files>
</files>

but should be :
<?xml version="1.0"?>
<!-- @ Copyright 2005 W3C (MIT, ERCIM, Keio), All Rights Reserved. See
http://www.w3.org/Consortium/Legal/. @ -->
<?access-control allow="*"?>
<files>
  <file name="30.xml"></file>
</files>

Also, to run it in newer servlet containers like Tomcat 7, the following
problems arise:
WEB-INF/web.xml
- dtd is too old
- the used invoker servlet is considered evil and deprecated [2]

The following web.xml did the job for me with tomcat 7:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
    <display-name>VXML Forum Combined Conformance Test
Harness</display-name>
    <description>
      A Test harness to run VXML 2.0, VXML 2.1 and SRGS 1.0 Conformance
Tests.
    </description>
    <servlet-mapping>
      <servlet-name>jsp</servlet-name>
      <url-pattern>*.jsp</url-pattern>
      <url-pattern>*.ircgi</url-pattern>
    </servlet-mapping>
</web-app>

general:
Part is now also available in the Servlet API 3.0 [3] and clashes with
the one of the used oreilly library. All occurences should be replaced
by
com.oreilly.servlet.multipart.Part

Best regards,
Dirk

[1] http://www.voicexml.org/platform-certification
[2] http://www.coderanch.com/how-to/java/InvokerServlet
[3] https://tomcat.apache.org/migration-7.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.