[Webtest] IntelliJ problem with WebTest.dtd

Dierk Koenig webtest@lists.canoo.com
Wed, 12 Jan 2005 09:50:48 +0100


Hi Marco,

if your test xml file contains a doctype like

<!DOCTYPE project SYSTEM "../config/MyWebTest.dtd">

the DTD may be either directly resolved
(when started from the expected directory) or you can
register
"../config/MyWebTest.dtd"
as an external URI under Ideas "Settings.Resources".

I tried with several IDEA versions over time and
found that this did not work in all versions, depending
on whether or not
- the DTD refers to other DTD files using the %entity; notation
- the xml file was used as an "ANT Build File"

YMMV
Mittie


-----Original Message-----
From: webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com]On
Behalf Of Marco Faini (mfaini)
Sent: Mittwoch, 12. Januar 2005 1:26
To: webtest@gate2.canoo.com
Subject: [Webtest] IntelliJ problem with WebTest.dtd


Hello everybody,

I have just downloaded the WebTest package and I was able to run the
sampleTest.
Now, I'd like to start writing my own test cases, and as suggested in the
documentation, under "Use a proper editor" set up my editor (IntelliJ IDEA
4.5) to recognize WebTest.dtd.

IntelliJ askes me for a URI and for a local path to the file. I could not
find any URI for DTD validation in the Canoo web site. (as for instance this
URI for validating struts tags --> http://struts.apache.org/tags-logic)

Does anybody know how to get IntelliJ to recognize the WebTest.dtd?


-----------------------------------------

Marco