Return-Path: X-Original-To: apmail-santuario-dev-archive@www.apache.org Delivered-To: apmail-santuario-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E2A010BF6 for ; Mon, 28 Jul 2014 09:11:29 +0000 (UTC) Received: (qmail 26933 invoked by uid 500); 28 Jul 2014 09:11:28 -0000 Delivered-To: apmail-santuario-dev-archive@santuario.apache.org Received: (qmail 26894 invoked by uid 500); 28 Jul 2014 09:11:28 -0000 Mailing-List: contact dev-help@santuario.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@santuario.apache.org Delivered-To: mailing list dev@santuario.apache.org Received: (qmail 26884 invoked by uid 99); 28 Jul 2014 09:11:27 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2014 09:11:27 +0000 Received: from localhost (HELO mail-wi0-f181.google.com) (127.0.0.1) (smtp-auth username coheigea, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2014 09:11:27 +0000 Received: by mail-wi0-f181.google.com with SMTP id bs8so3969036wib.8 for ; Mon, 28 Jul 2014 02:11:25 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.182.67 with SMTP id ec3mr29336124wic.21.1406538685034; Mon, 28 Jul 2014 02:11:25 -0700 (PDT) Reply-To: coheigea@apache.org Received: by 10.194.135.234 with HTTP; Mon, 28 Jul 2014 02:11:24 -0700 (PDT) In-Reply-To: <1406330925462-41297.post@n7.nabble.com> References: <1406110977205-41280.post@n7.nabble.com> <1406131343662-41286.post@n7.nabble.com> <1406330925462-41297.post@n7.nabble.com> Date: Mon, 28 Jul 2014 10:11:24 +0100 Message-ID: Subject: Re: newbie - decryption stream using stax From: Colm O hEigeartaigh To: "dev@santuario.apache.org" Content-Type: multipart/alternative; boundary=047d7b5dbcdaaf3a8b04ff3d4e4b --047d7b5dbcdaaf3a8b04ff3d4e4b Content-Type: text/plain; charset=UTF-8 If you run the patched project with "mvn clean install", do you not see the output on the console window? Your breakpoint appears to be before the stream is read into the document, and so you wouldn't expect any content to be in the document at that point. Colm. On Sat, Jul 26, 2014 at 12:28 AM, mujahedsyed wrote: > Hi Colm, > > Thank you very much for the patch. > > I have applied the patch to the code available on github here > > https://github.com/coheigea/testcases/tree/master/apache/santuario/santuario-xml-encryption > > after applying the patch successfully I ran the test and the result is > still > the same I dont get the xml back, I have debug the junit test and it looks > like the document object that is being returned by stax2dom.java class is > being returned as null. I am not sure what I am doing wrong, I have > attached > the screenshot, would appreciate if you can advise. > > Thanks. > > > > > -- > View this message in context: > http://apache-xml-project.6118.n7.nabble.com/newbie-decryption-stream-using-stax-tp41280p41297.html > Sent from the Apache XML - Security - Dev mailing list archive at > Nabble.com. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com --047d7b5dbcdaaf3a8b04ff3d4e4b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

If you run the patched project with "m= vn clean install", do you not see the output on the console window? Yo= ur breakpoint appears to be before the stream is read into the document, an= d so you wouldn't expect any content to be in the document at that poin= t.

Colm.


On Sat, Jul 26, 2014 at 12:28 AM, mujahedsyed <<= a href=3D"mailto:msyed1983@gmail.com" target=3D"_blank">msyed1983@gmail.com= > wrote:
Hi Colm,

Thank you very much for the patch.

I have applied the patch to the code available on github here
https://github.com/coheigea/= testcases/tree/master/apache/santuario/santuario-xml-encryption

after applying the patch successfully I ran the test and the result is stil= l
the same I dont get the xml back, I have debug the junit test and it looks<= br> like the document object that is being returned by stax2dom.java class is being returned as null. I am not sure what I am doing wrong, I have attache= d
the screenshot, would appreciate if you can advise.

Thanks.
<http://apache-xml-project.6118.n7.nabble.com= /file/n41297/screenshot.png>



--
View this message in context: http://apache-xml-project.6118.n7.nabble.com/newbie-decryption-= stream-using-stax-tp41280p41297.html
Sent from the Apache XML - Security - Dev mailing list archive at Nabble.co= m.



--
Colm O hEigeartai= gh

Talend Community Coder
http://coders.talend.com
--047d7b5dbcdaaf3a8b04ff3d4e4b--