You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Curmin <pc...@sopragroup.com> on 2002/11/28 10:24:27 UTC
Problem with the CreateEnvelopingSignature sample
Hello,
when trying to execute the CreateEnvelopingSignature sample I get the
following exception stack :
Exception in thread "main" java.lang.ClassCastException:
org.apache.crimson.tree
.XmlDocument
at
org.apache.xml.security.utils.IdResolver.registerElementById(IdResolv
er.java:112)
at
org.apache.xml.security.signature.ObjectContainer.setId(ObjectContain
er.java:123)
at
CreateEnvelopingSignature.main(CreateEnvelopingSignature.java:142)
Anybody knows why ObjectContainer.setId() causes that exception ?
Philippe Curmin
Division Administration et Secteur Public
Sopra Group
14-16 rue de Vincennes 93100 Montreuil
email : pcurmin@sopragroup.com
Re: Problem with the CreateEnvelopingSignature sample
Posted by Christian Geuer-Pollmann <ge...@nue.et-inf.uni-siegen.de>.
You use Crimson, but the library requires Xerces.
> Exception in thread "main" java.lang.ClassCastException:
> org.apache.crimson.tree.XmlDocument
>
org.apache.xml.security.utils.IdResolver.registerElementById(IdResolver.jav
a:112)