Hi,
When I try to run the 'opensaml\java\tests\org\opensaml\POSTProfileTest',
I am getting the following exception.
org.apache.xml.utils.WrongParserException: OpenSAML requires an xml
parser that supports DOM3 calls. Xerces 2.5.0 (built with DOM3 support)
has been included with this release and is recommended. If you are using
Java 1.4, make sure that you have enabled the Endorsed Standards Override
Mechanism for this parser.
at
org.opensaml.SAMLConfig.verifyUsableXmlParser(SAMLConfig.java:227)
at
org.opensaml.SAMLConfig.<init>(SAMLConfig.java:73)
at org.opensaml.SAMLConfig.instance(SAMLConfig.java:142)
at
org.opensaml.SAMLObject.<init>(SAMLObject.java:81)
at
org.opensaml.SAMLAuthorityBinding.<init>(SAMLAuthorityBinding.java:83)
at
org.opensaml.POSTProfileTest.testPOSTProfile(POSTProfileTest.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:324)
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 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)
I kept ‘dom3-xercesImpl-2.5.0.jar, dom3-xml-apis-2.5.0.jar’
files in the ‘opensaml\java\endorsed’ folder.
Any ideas are appreciated.
Thanks in advance
Thanks & Regards
Sreenivas
DISCLAIMER:
This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.