From: <[EMAIL PROTECTED]> > This looks like the old 1.4/1.3 StringBuffer.append(StringBuffer) > hassle....
Wierd. I'm using JDK 1.3.1 and it works fine for me. James ------- http://radio.weblogs.com/0112098/ > -- > dIon Gillard, Multitask Consulting > Blog: http://www.freeroller.net/page/dion/Weblog > Work: http://www.multitask.com.au > > > "Michael Rettig" <[EMAIL PROTECTED]> wrote on 15/12/2002 08:00:36 AM: > > > Is anyone else seeing this same error? I emailed the lead developer > > of XMLUnit, and he said it was due to a difference between JUnit 3.7 > > and 3.8. However, I've tried it with both, and it still doesn't work. > > > > To test just change the xmlunit jellyunit suite to actually test > > what exception is thrown, and not just test that any exception is > > throws (as I've done below). > > > > Thanks, > > > > Mike Rettig > > > > ----- Original Message ----- > > From: "Michael Rettig" <[EMAIL PROTECTED]> > > > I'm getting this error when trying to compare two xml documents. > > > > > > java.lang.NoSuchMethodError > > > at org.custommonkey.xmlunit.Diff.appendMessage(Unknown Source) > > > at org.custommonkey.xmlunit.Diff.toString(Unknown Source) > > > at org.apache.commons.jelly.tags.xmlunit. > > AssertDocumentsEqualTag.doTag(AssertDocumentsEqualTag.java:119) > > > at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:278) > > > at > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:134) > > > at org.apache.commons.jelly.tags.junit.CaseTag$1. > > runTest(CaseTag.java:105) > > > > > > Here is the test. I updated one of the XmlUnit tags to include > > support for the new assertThrows tags. > > > > > > <test:case name="differentDocuments"> > > > <x:parse var="doc1"> > > > <testDoc1/> > > > </x:parse> > > > <x:parse var="doc2"> > > > <testDoc2/> > > > </x:parse> > > > > > > <test:assertThrows > expected="junit.framework.AssertionFailedError"> > > > <xu:assertDocumentsEqual actual="${doc1}" > expected="${doc2}"/> > > > </test:assertThrows> > > > </test:case> > > > > -- > > __________________________________________________________ > > Sign-up for your own FREE Personalized E-mail at Mail.com > > http://www.mail.com/?sr=signup > > > > Meet Singles > > http://corp.mail.com/lavalife > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > ForwardSourceID:NT00099B0A __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
