Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML2.0] Problem in BasicParserPool.initializePool

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML2.0] Problem in BasicParserPool.initializePool


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: [OpenSAML2.0] Problem in BasicParserPool.initializePool
  • Date: Tue, 29 Jan 2008 07:24:38 +0100
  • Organization: SWITCH

Well, I can give you the first level reason. The BasicParser pool sets XIncludeAware to false, be default. Xerces is complaining that that isn't supported. Now, what I don't know is why that would be supported on Unix systems and not Windows. I'll have to do some digging within the Xerces docs/code.

Dimuthu Leelarathne wrote:
Hi All,

When I run my program, which uses OpenSAML2.0 library on my Linux
machine everything works great! But when I run it on a Windows OS, it
gives me the following problem[1].
I double checked the endorsed libraries. I have added latest xerces and
xalan jars into it.
I am wondering what could be the problem.

Your help is very much appreciated.

Thank you,
Dimuthu


[1]
Caused by: java.lang.UnsupportedOperationException: This parser does not
support
specification "null" version "null"
at
javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(Unknown Sou
rce)
at
org.opensaml.xml.parse.BasicParserPool.initializePool(BasicParserPool
.java:500)
at
org.opensaml.xml.parse.BasicParserPool.<init>(BasicParserPool.java:14
4)
at
org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:70)


--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Security
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch




Archive powered by MHonArc 2.6.16.

Top of Page