Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Unable to execute AuthnRequestTest

Subject: OpenSAML user discussion

List archive

Re: Unable to execute AuthnRequestTest


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: Unable to execute AuthnRequestTest
  • Date: Tue, 23 Jan 2007 09:09:23 -0500
  • Organization: University Information Systems

This question has been answered numerous times on the list and is in the documentation.

OpenSAML 2 User's Guide
https://spaces.internet2.edu/display/SHIB/OSTwoUserManual

Mailing List Archive
https://mail.internet2.edu/wws/arc/mace-opensaml-users


wrote:
Hi,

I'm trying to execute the provided test AuthnRequestTest.java (with
openSAML2) but i have the following exception :

11:12:04,379 ERROR [XMLConfigurator] Configuration file does not validate
against schema
org.xml.sax.SAXParseException: UndeclaredPrefix: Cannot resolve 'xt:DEFAULT'
as a QName: the prefix 'xt' is not declared.
at
com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseException(Util.java:109)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ErrorHandlerAdaptor.error(ErrorHandlerAdaptor.java:104)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:429)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3185)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processOneAttribute(XMLSchemaValidator.java:2799)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processAttributes(XMLSchemaValidator.java:2735)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:2094)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:335)
at
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
at org.apache.xml.serializer.TreeWalker.startNode(TreeWalker.java:357)
at org.apache.xml.serializer.TreeWalker.traverse(TreeWalker.java:143)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:389)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.process(ValidatorImpl.java:220)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:141)
at javax.xml.validation.Validator.validate(Validator.java:82)
at
org.opensaml.xml.XMLConfigurator.validateConfiguration(XMLConfigurator.java:309)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:130)
at org.opensaml.Configuration.init(Configuration.java:49)
at
org.opensaml.common.SAMLObjectTestCaseConfigInitializer.<init>(SAMLObjectTestCaseConfigInitializer.java:60)
at
org.opensaml.common.ComplexSAMLObjectBaseTestCase.<init>(ComplexSAMLObjectBaseTestCase.java:42)
at
org.opensaml.saml2.core.AuthnRequestTest.<init>(AuthnRequestTest.java:33)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at junit.framework.TestSuite.createTest(TestSuite.java:131)
at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
at junit.framework.TestSuite.<init>(TestSuite.java:75)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.getTest(RemoteTestRunner.java:399)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Unable to configure OpenSAML: org.opensaml.xml.ConfigurationException:
Configuration file does not validate against schema

Does anyone could help me ?

Thanks in advance

Laurent

--
Chad La Joie 2052-C Harris Bldg
OIS-Middleware 202.687.0124



Archive powered by MHonArc 2.6.16.

Top of Page