You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Andrzej Matejko <an...@pro.onet.pl> on 2004/03/08 13:05:26 UTC
createBlankReference(....type...) - "type" or "Type"
Hi,
The problem is very simple: when I create reference with type!=NULL in
reference node, there is created attribute "type". When I verify such
signature, DSIGReference::load throws exception, because its looking for
"Type", not "type". And here is the question: is a bug in XSEC, or am I
doing something wrong (maybe I have to set some varible, etc).
Looking for help,
andrew
RE: createBlankReference(....type...) - 'type' or 'Type'
Posted by Andrzej Matejko <an...@pro.onet.pl>.
Hi,
I've tried latest CVS. Problems with: type vs. Type and
createReference with type!=null are solved.
Thanks for help.
Andrew
-----Original Message-----
From: Berin Lautenbach [mailto:berin@wingsofhermes.org]
Sent: Monday, March 08, 2004 11:25 PM
To: security-dev@xml.apache.org
Subject: Re: createBlankReference(....type...) - 'type' or 'Type'
Andrew,
I think both this and your previous e-mail are bugs in xsec. Are you
able to try latest CVS? Someone else was having problems recently and I
did some patches, but it would be good to have someone else confirm it
is all working OK. Cheers,
Berin
> Hi,
>
> The problem is very simple: when I create reference with type!=NULL
> in reference node, there is created attribute "type". When I verify
> such signature, DSIGReference::load throws exception, because its
> looking for "Type", not "type". And here is the question: is a bug in
> XSEC, or am I doing something wrong (maybe I have to set some varible,
> etc).
>
>
> Looking for help,
> andrew
Re: createBlankReference(....type...) - 'type' or 'Type'
Posted by Berin Lautenbach <be...@wingsofhermes.org>.
Andrew,
I think both this and your previous e-mail are bugs in xsec. Are you able
to try latest CVS? Someone else was having problems recently and I did
some patches, but it would be good to have someone else confirm it is all
working OK.
Cheers,
Berin
> Hi,
>
> The problem is very simple: when I create reference with type!=NULL in
> reference node, there is created attribute "type". When I verify such
> signature, DSIGReference::load throws exception, because its looking
> for "Type", not "type". And here is the question: is a bug in XSEC, or
> am I doing something wrong (maybe I have to set some varible, etc).
>
>
> Looking for help,
> andrew