I'm guessing that the junit ClassLoader is the problem since other code
using the same parser code works using the same classpath outside of junit.
I tried adding the parser packages to junits excluded.properties but this
doesn't seem to help.

Any ideas would be appreciated.

Thanks,
Allen

-----Original Message-----
From: Adrian Sutton [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 1:46 PM
To: [EMAIL PROTECTED]
Subject: RE: XmlReader


This is typically caused by ClassLoader issues which JUnit causes a lot of.
I'd probably ask the Junit folks (search the FAQ first) as they've probably
seen this quite often.

Regards,

Adrian Sutton.

-----Original Message-----
From: Allen Brookes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 16 March 2004 3:49 AM
To: '[EMAIL PROTECTED]'
Subject: XmlReader

I'm getting the following error when trying to run a test using junit.

unit.framework.AssertionFailedError: SAX2 driver class
org.apache.xerces.parsers.SAXParser does not implement XMLReader

What does this mean?  Isn't XmlReader an interface that SAX2 must implement?

Thanks,
Allen

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



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

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

Reply via email to