I'm running Ant targets for Unit Testing.

One of the steps in the TestCase is to validate an XML file via DTD-- which
is resolving wrong with the ServletTestCase.

When I declare my test case extending junit.framework.TestCase, no problems
arise and the System DTD is located in the same directory as the XML.

But, when I extend ServletTestCase, the DTD location is being resolved back
to the root of project, which is wrong and I get a SAX error with digester's
validation.

I would much apprechiate any hints as to why the DTD is resolving
differently between TestCase and ServletTestCase?

Thanks!
Jacob

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to