If you *are* using the supplied version, you might want to try older versions of the xerces jar.
These versions are easily downloaded from:
http://www.ibiblio.org/maven/xerces/jars
Also, could you supply us with some more information regarding the webpage you're trying to parse? It would be interesting to know on what element the parser chokes.
Martijn
Srinivasan Ranganathan wrote:
This is what I get when I upgraded from 1.1.1 to 1.2. Any thoughts?
org.w3c.dom.DOMException: NOT_SUPPORTED_ERR: The implementation does not support the requested type of object or operation.
at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source)
at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source)
at org.apache.html.dom.HTMLDocumentImpl.cloneNode(Unknown Source)
at com.meterware.httpunit.ParsedHTML.getDOM(ParsedHTML.java:798)
at com.meterware.httpunit.WebResponse.getDOM(WebResponse.java:461)
at net.sourceforge.jwebunit.HttpUnitDialog.getFormElementNameForLabel(HttpUnitDialog.java:362)
at net.sourceforge.jwebunit.HttpUnitDialog.hasFormParameterLabeled(HttpUnitDialog.java:351)
at net.sourceforge.jwebunit.WebTester.assertFormElementPresentWithLabel(WebTester.java:333)
at net.sourceforge.jwebunit.WebTestCase.assertFormElementPresentWithLabel(WebTestCase.java:140)
at au.com.aiaa.claims.web.record.RecordClaimUITest.testRecordClaimWithInvalidShare(RecordClaimUITest.java:875)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
Regards Srini
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Jwebunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Jwebunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
