Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Request for simple sample example of request and response

Subject: OpenSAML user discussion

List archive

Re: Request for simple sample example of request and response


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: Request for simple sample example of request and response
  • Date: Tue, 16 May 2006 15:22:55 -0400

Xerces and Xalan are not endorsed. That's why it gives the package name of the JAXP impl as COM.SUN.org.apache instead of just org.apache.


wrote:
While running any test examples, I am getting the error as follows.
Please give tip to resolve the issue and to run the examples.
I have not got the correct verion of Xerces-J 2.8.0 from Apache.


Version is Xerces-J 2.8.0
15:02:47,384 ERROR [Configuration] Configuration file does not validate
against schema
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of
element 'XMLTooling'.
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.handleStartElement(XMLSchemaValidator.java:1944)
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.Configuration.validateConfiguration(Configuration.java:611)
at org.opensaml.xml.Configuration.load(Configuration.java:160)
at
org.opensaml.common.SAMLObjectTestCaseConfigInitializer.<clinit>(SAMLObjectTestCaseConfigInitializer.java:133)
Unable to configure OpenSAML: org.opensaml.xml.ConfigurationException:
Configuration file does not validate against schema
Exception in thread "main" junit.framework.AssertionFailedError: Unable to
retrieve builder for object QName {urn:oasis:names:tc:SAML:2.0:assertion}NameID
at junit.framework.Assert.fail(Assert.java:47)
at
org.opensaml.common.SAMLObjectTestCaseConfigInitializer.buildXMLObject(SAMLObjectTestCaseConfigInitializer.java:121)
at
org.opensaml.saml2.core.AuthnRequestTest.testMarshall(AuthnRequestTest.java:65)
at
org.opensaml.saml2.core.AuthnRequestTest.main(AuthnRequestTest.java:109)

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



Archive powered by MHonArc 2.6.16.

Top of Page