2 messages in com.canoo.lists.webtest[Webtest] Public DTD?
FromSent OnAttachments
Marc Guillemot10 Nov 2004 07:31 
Sebastien Mathy10 Nov 2004 07:44 
Subject:[Webtest] Public DTD?
From:Marc Guillemot (mgui@yahoo.fr)
Date:11/10/2004 07:31:57 AM
List:com.canoo.lists.webtest

Hi,

all my webtests files start with something like:

<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE project SYSTEM "../WebTest.dtd"[ <!ENTITY config SYSTEM "../config.xml"> ]>

The config file is project specific and it makes sense to have it in each
project. But the WebTest.dtd is in all projects the same. It would perhaps make sense to provide a DTD on webtest
website that could be referenced like:

<?xml version="1.0"?> <!DOCTYPE project PUBLIC "WebTest.dtd" "http://webtest.canoo.com/WebTest.dtd" [ <!ENTITY config SYSTEM "../config.xml"> ]>

It would avoid duplicating the dtd in different projects (but what about the
version of the DTD?).

A further step to avoid duplicates could be to provide a sort of webtest runner
ant script that would load the steps tasks, run the test and perform the xsl transformation.

Reactions? Comments?

Marc.