Re: Undeclared namespace prefix

2008-10-03 Thread Werner Dittmann
Scott, > > Sorry, that's not the point. Is there a namespace *declaration* there? The > fact that the DOM knows that it has that namespace is irrelevant to the c14n > process, as far as I'm aware. If the DOM doesn't have the xmlns:ds > attribute, you will not get it back out. > thanks for your h

RE: Undeclared namespace prefix

2008-10-03 Thread Scott Cantor
> thanks for your hints :-) . Of course - the xmlns:ds attribute is the > important part. After checking the attributes of KeyInfo it turned out > that no xmlns:ds attribute was found. I figured. > This functions differs between 1.4.1 and 1.4.2 in some important lines when > it comes to add the x

Re: Undeclared namespace prefix

2008-10-03 Thread Werner Dittmann
Scott Cantor schrieb: Well, the bug is holistic. What I mean, and this is what I meant in my original comment, is that the bug is a consequence of the inconsistent XML handling across the range of libraries. It could be viewed as a bug in lots of places. In this specific case, I think it's prob

Re: Undeclared namespace prefix

2008-10-03 Thread Raul Benito
Hello, I think I made the change so I will try to defend it, first of all the use of KeyInfo out of a Signature it is not a use case I was looking to. So perhaps we break it as we don't look at it. And sadly the old api is full of internal objects that can be use external. And I see KeyInfo like th

Re: Undeclared namespace prefix

2008-10-03 Thread Werner Dittmann
Raul Benito schrieb: Hello, I think I made the change so I will try to defend it, first of all the use of KeyInfo out of a Signature it is not a use case I was looking to. Raul, KeyInfo as such (as an XML element) is not used inside Signature only. If you have a look into the OASIS WSS specif

Re: Undeclared namespace prefix

2008-10-03 Thread Raul Benito
I was talkinb about the use of them alone and then need to be c14n by itself. Anyway I see the point, and I think is one of the sane ones to be use outside of the signature. But please in order to not repeat it can you send me the junit test case. It will be make the change faster, and it also will