mace-opensaml-users - Re: This parser does not support specification "null" version "null
Subject: OpenSAML user discussion
List archive
- From: Brent Putman <>
- To:
- Subject: Re: This parser does not support specification "null" version "null
- Date: Wed, 17 Oct 2007 18:37:44 -0400
Looks like whatever JAXP implementation you're using doesn't support the
XInclude processing.
The top-level JAXP DocumentBuilderFactory is defined:
public abstract class DocumentBuilderFactory
{
public void setXIncludeAware(boolean flag)
{
throw new UnsupportedOperationException("This parser does not
support specification \"" +
getClass().getPackage().getSpecificationTitle() + "\" version \"" +
getClass().getPackage().getSpecificationVersion() + "\"");
}
}
Your DBF impl class must not implement this method.
The Javadoc says:
"For backward compatibility, when implementations for earlier versions
of JAXP is used, this exception will be thrown."
So the question is: What Java vendor and version and what JAXP impl and
version are you using? Probably you just need to endorse and/or
configure a newer version of a JAXP impl, such as Xerces 2.9.0. Maybe
your 2 environments are setup differently? You indicated that one works
and the other doesn't.
Thanks,
Brent
Massimiliano Masi wrote:
> Hello all,
>
> I've this problem, by creating an authentication assertion.
>
> If I run it from a public static void main() everything works.
>
>
>
> java.lang.UnsupportedOperationException: This parser does not support
> specification "null" version "null
> 18:52:48,368 ERROR [STDERR] at
> javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(Unknown Source)
> 18:52:48,368 ERROR [STDERR] at
> org.opensaml.xml.parse.BasicParserPool.initializePool(BasicParserPool.java:484)
>
> 18:52:48,368 ERROR [STDERR] at
> org.opensaml.xml.parse.BasicParserPool.<init>(BasicParserPool.java:136)
> 18:52:48,369 ERROR [STDERR] at
> org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:70)
> 18:52:48,369 ERROR [STDERR] at
> org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:120)
>
> 18:52:48,369 ERROR [STDERR] at
> org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:71)
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
- This parser does not support specification "null" version "null, Massimiliano Masi, 10/15/2007
- Re: This parser does not support specification "null" version "null, Brent Putman, 10/17/2007
Archive powered by MHonArc 2.6.16.