Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] This parser does not support specification "null" version "null"

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] This parser does not support specification "null" version "null"


Chronological Thread 
  • From: Brent Putman <>
  • To:
  • Cc:
  • Subject: Re: [OpenSAML] This parser does not support specification "null" version "null"
  • Date: Tue, 19 Jan 2010 16:16:21 -0500



On 1/14/10 4:04 PM,

wrote:
> Hello I’m a newbie to SAML and I’m currently stumped on this error.
>
> java.lang.UnsupportedOperationException: This parser does not support
> specification "null" version "null"
> at
> javax.xml.parsers.DocumentBuilderFactory.setSchema(DocumentBuilderFactory.java:561)
>
>


The underlying reason for the error is that your JAXP impl is too old to
support the DBF setSchema method. Someone else had a similar issue here:

https://mail.internet2.edu/wws/arc/mace-opensaml-users/2007-10/msg00051.html


>
> I’m calling the java class from a simple Coldfusion app that basically just
> calls a java class that returns a Boolean as to whether or not the user has
> been validated. It looks like to me the DocumentBuilderFactory.setSchema
> should be using the DocumentBuilderFactoryImpl.setSchema, but I’m not sure
> how to change the behavior.
>

You need to configure your JRE's XML parsing environment to use a newer,
supported version of a JAXP implementation (e.g. Xerces). You mentioned
Coldfusion, but didn't mention what container/app server you are using
(JRun vs. Tomcat, JBoss, etc). You most likely just need to use your
container's defined method of endorsing classes and endorse a newer
version of the Xerces and Xalan jars. We ship known, good versions of
those in the OpenSAML distribution.



Archive powered by MHonArc 2.6.16.

Top of Page