Re: JUnit test failures in a fresh checkout

2010-04-20 Thread eric fu
If I were to create a patch to fix this, what is the process, and is that worthwhile? On Wed, Mar 31, 2010 at 11:59 PM, eric fu wrote: > Hi, > > I checked out a latest copy for xml security Java from svn trunk(1.4.3). > But ant test showed a few failures and it took me quite some ti

JUnit test failures in a fresh checkout

2010-04-01 Thread eric fu
Hi, I checked out a latest copy for xml security Java from svn trunk(1.4.3). But ant test showed a few failures and it took me quite some time to figure them out. Here are a summary of issues I identified: 1. dependency on Sun JVM. javax.xml.crypto.test.KeySelectors use two internal classes

DO NOT REPLY [Bug 47833] problem xml parsing: != test instead of !.equals cause a parse error

2009-09-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47833 sean.mul...@sun.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 47833] New: problem xml parsing: != test instead of !.equals cause a parse error

2009-09-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47833 Summary: problem xml parsing: != test instead of !.equals cause a parse error Product: Security Version: unspecified Platform: PC OS/Version: Windows 2000

Test failures on trunk

2009-04-16 Thread Colm O hEigeartaigh
Hi guys, I'm getting some test-failures on trunk with junit 3.8.1. I get the errors on both linux and windows: [junit] Testcase: test_signatureTypesSignature took 22.36 sec [junit] FAILED [junit] Signature failed core validation [junit] junit.framework.AssertionFailed

test

2009-02-18 Thread Н.А. Масель
-- C уважением, Наталья Масель (nata...@avest.by) -- ЗАО "Авест" тел. (+375 17) 2079234 Республика Беларусь 220116, г.Минск пр-т газеты "Правда", 5

DO NOT REPLY [Bug 40298] - XMLCipherTester.testSameDocumentCipherReference test fails (regression)

2007-09-19 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: Unable to build test / jar for - xml-security-src-1_4_1.zip

2007-06-11 Thread Sean Mullan
Gardiner wrote: > > Hello, > > I am unable to build the source in distribution xml-security-src-1_4_1.zip. > > When ant attempts to build the tests I get the following error: > > > build.test: > [javac] Compiling 38 source files to > /home/mike/src/xenon_devel/xml-s

Unable to build test / jar for - xml-security-src-1_4_1.zip

2007-06-08 Thread Mike Gardiner
Hello, I am unable to build the source in distribution xml-security-src-1_4_1.zip. When ant attempts to build the tests I get the following error: build.test: [javac] Compiling 38 source files to /home/mike/src/xenon_devel/xml-security-1_4_1/build/test [javac] /home/mike/src/xenon_devel

RE: c14n test vectors

2007-05-30 Thread Da Cruz Pinto, Juan M
as? Again, thanks for your answer, Marcelo. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 13:27 To: security-dev@xml.apache.org Subject: Re: c14n test vectors Since you are canonicalizing XPath node-sets, try calling XMLUtils.circumv

Re: c14n test vectors

2007-05-30 Thread Sean Mullan
od[2]). In the case of the Y4 test verctors, [1] is useful for c14ning each of the SignedInfo references, and [2] is useful for c14ning the SignedInfo element (the entire subtree) itself. With this approach, I was hopping to get the same results, just by using the 9 XPath expressions inside &quo

RE: c14n test vectors

2007-05-29 Thread Da Cruz Pinto, Juan M
hod[1]) or to select a node for doing subtree c14n (canonicalizeSubtree method[2]). In the case of the Y4 test verctors, [1] is useful for c14ning each of the SignedInfo references, and [2] is useful for c14ning the SignedInfo element (the entire subtree) itself. With this approach, I was hopping

Re: c14n test vectors

2007-05-29 Thread Raul Benito
We have this test vector in our test suite. And they are passing, can you look at this data: xml-se/data/interop/c14n/Y4 And the test code xml-sec/src_unitTests/org/apache/xml/security/test/c14n/implementations/ExclusiveC14NInterop.java Regards, Raul On 5/29/07, Da Cruz Pinto, Juan M <[EM

RE: c14n test vectors

2007-05-29 Thread Da Cruz Pinto, Juan M
ns used to filter the XML content. Each of the 9 XPath expressions is used for the tests from 00 to 26 (they repeat for inclusive, exclusive & exclusive with inclusive prefix list... which are the first 27 tests). The last test (c14n-27.txt) just canonicalizes the entire SignedInfo subtree.

Re: c14n test vectors

2007-05-29 Thread Raul Benito
Hi Marcelo, It is strange, I think that Merlin interop test is our unittest suite. Can you send the differences? Regards, Raul On 5/28/07, Da Cruz Pinto, Juan M <[EMAIL PROTECTED]> wrote: Hi Everybody, Are there any unit tests in the code to test c14n interoperability? I&#

c14n test vectors

2007-05-28 Thread Da Cruz Pinto, Juan M
Hi Everybody, Are there any unit tests in the code to test c14n interoperability? I've been trying to test the "merlin-c14n-three" test vectors, but some of the tests inside it are failing. My environment: - XML Security 1.4.1 library - Using XMLUtils.ci

DO NOT REPLY [Bug 40298] - XMLCipherTester.testSameDocumentCipherReference test fails (regression)

2006-08-27 Thread bugzilla
|FIXED --- Additional Comments From [EMAIL PROTECTED] 2006-08-27 11:43 --- Fixed We need a whole testsuite, that test everything not two separated one. Regards -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- Y

DO NOT REPLY [Bug 40298] New: - XMLCipherTester.testSameDocumentCipherReference test fails (regression)

2006-08-22 Thread bugzilla
gzilla/show_bug.cgi?id=40298 Summary: XMLCipherTester.testSameDocumentCipherReference test fails (regression) Product: Security Version: unspecified Platform: All OS/Version: All Status: NEW Severity:

DO NOT REPLY [Bug 28872] - merlin-xmldsig-twenty-three test cases

2006-08-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

this is a test

2005-02-11 Thread Edson Camargo
Hello,   My name is Edson. I'm from Florianópolis, Brazil, student of mastering at UFSC   Thank you!   Edson

Re: Ant test

2004-10-02 Thread Berin Lautenbach
Raul, If you've done it in the last couple of hours - it's probably because I've just committed some fixes for a couple of bugs :>. Cheers, Berin [EMAIL PROTECTED] wrote: On 02/10/2004, at 2:33, Berin Lautenbach wrote: Is anyone else able to get a clean "ant t

Re: Ant test

2004-10-02 Thread raul-info
On 02/10/2004, at 2:33, Berin Lautenbach wrote: Is anyone else able to get a clean "ant test" to run? I turn up errors all over the shop - even with the subset "ant test_xenc". Cheers, Berin I just run all the test from eclipse env I just run AllTest.java, I don&

Ant test

2004-10-01 Thread Berin Lautenbach
Is anyone else able to get a clean "ant test" to run? I turn up errors all over the shop - even with the subset "ant test_xenc". Cheers, Berin

Encryption Unit Test Failures

2004-08-09 Thread Vishal Mahajan
Some encryption unit tests are not passing on the head branch. I wanted to make sure that I am not the only one observing this. Details follow: [junit] Running org.apache.xml.security.test.encryption.BaltimoreEncTest [junit] Tests run: 10, Failures: 0, Errors: 5, Time elapsed: 7.176 sec

Re: "ant test" fails with 1.4.2_05 (used to work with 1.4.2._04)

2004-07-15 Thread Davanum Srinivas
weird I removed all jdks and jres on my machine, reinstalled 1.4.2_05 and all's well now. thanks. -- dims On Thu, 15 Jul 2004 10:27:43 -0400, Sean Mullan <[EMAIL PROTECTED]> wrote: > I tried again but I cannot reproduce this. All tests pass for me. > > Can someone else try testing with 1.4.2

Re: "ant test" fails with 1.4.2_05 (used to work with 1.4.2._04)

2004-07-15 Thread Sean Mullan
I tried again but I cannot reproduce this. All tests pass for me. Can someone else try testing with 1.4.2_05? Remember you must install the unlimited JCE strength policy files for all tests to pass. Thanks, Sean Davanum Srinivas wrote: C:\JDK14\jre\lib\security>jar tvf local_policy.jar 169 Mon J

Re: "ant test" using JDK15 without extra Xalan jar

2004-07-14 Thread Sean Mullan
Which tests fail? I get 3 failures in Canonicalizer20010315Test but not sure what is causing it. --Sean Davanum Srinivas wrote: Vishal, I was able to get "ant test" work in JDK1.5 w/o xercesImpl in libs directory (remove the xercesImpl from ant/lib as well before you run it). Could you p

Re: "ant test" fails with 1.4.2_05 (used to work with 1.4.2._04)

2004-07-14 Thread Sean Mullan
Hi Milan, Milan Tomic wrote: Sorry, I know this is off the topic, but... Hello Sean, I've been just reading your "JavaTM Certification Path API Programmer's Guide" at: http://java.sun.com/j2se/1.4.2/docs/guide/security/certpath/CertPathProgGuide.html Well, there are few variables ne

Re: "ant test" fails with 1.4.2_05 (used to work with 1.4.2._04)

2004-07-14 Thread Milan Tomic
Sorry, I know this is off the topic, but... Hello Sean, I've been just reading your "JavaTM Certification Path API Programmer's Guide" at: http://java.sun.com/j2se/1.4.2/docs/guide/security/certpath/CertPathProgGuide.html Well, there are few variables never declared like "trust

Re: "ant test" fails with 1.4.2_05 (used to work with 1.4.2._04)

2004-07-13 Thread Davanum Srinivas
C:\JDK14\jre\lib\security>jar tvf local_policy.jar 169 Mon Jun 16 15:36:32 EDT 2003 META-INF/MANIFEST.MF 194 Mon Jun 16 15:36:42 EDT 2003 META-INF/JCE_DSA.SF 2207 Mon Jun 16 15:36:42 EDT 2003 META-INF/JCE_DSA.DSA 194 Mon Jun 16 15:36:32 EDT 2003 META-INF/JCE_RSA.SF 2022 Mon Jun 16 15:3

Re: "ant test" fails with 1.4.2_05 (used to work with 1.4.2._04)

2004-07-13 Thread Sean Mullan
Do the contents look like?: $ jar tf $JAVA_HOME/jre/lib/security/local_policy.jar META-INF/MANIFEST.MF META-INF/JCE_DSA.SF META-INF/JCE_DSA.DSA META-INF/JCE_RSA.SF META-INF/JCE_RSA.RSA META-INF/ default_local.policy Davanum Srinivas wrote: yep. i did. -- dims On Tue, 13 Jul 2004 13:43:35 -0400, Sea

Re: "ant test" fails with 1.4.2_05 (used to work with 1.4.2._04)

2004-07-13 Thread Davanum Srinivas
yep. i did. -- dims On Tue, 13 Jul 2004 13:43:35 -0400, Sean Mullan <[EMAIL PROTECTED]> wrote: > Hi Dims, > > I could not reproduce this. Are you sure you downloaded and installed > the unlimited strength policy files: http://java.sun.com/j2se/1.4.2/download.html > (scroll to bottom of page). >

Re: "ant test" fails with 1.4.2_05 (used to work with 1.4.2._04)

2004-07-13 Thread Sean Mullan
Hi Dims, I could not reproduce this. Are you sure you downloaded and installed the unlimited strength policy files: http://java.sun.com/j2se/1.4.2/download.html (scroll to bottom of page). --Sean Davanum Srinivas wrote: FYI, if i drop bc-jce-jdk13-124.jar into jre\lib\endorsed it works fineSo i

DO NOT REPLY [Bug 28872] - merlin-xmldsig-twenty-three test cases

2004-07-12 Thread bugzilla
gzilla/show_bug.cgi?id=28872 merlin-xmldsig-twenty-three test cases [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Reso

Re: "ant test" fails with 1.4.2_05 (used to work with 1.4.2._04)

2004-07-12 Thread Davanum Srinivas
FYI, if i drop bc-jce-jdk13-124.jar into jre\lib\endorsed it works fineSo it's probably a bug in the javax.crypto / local_policy.jar / US_export_policy.jar -- dims On Mon, 12 Jul 2004 12:27:00 -0400, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > FYI, "JDK 1.3.1_11" works fine "JDK 1.5.0-beta2

"ant test" fails with 1.4.2_05 (used to work with 1.4.2._04)

2004-07-12 Thread Davanum Srinivas
FYI, "JDK 1.3.1_11" works fine "JDK 1.5.0-beta2" works fine BUT 1.4.2_05 has 8 failures (Yes, with the strong crypto stuff) 4 in BaltimoreEncTest and 4 in XMLCipherTester. Tested with older versions of BC providers as well with same effect. (So i suspect that the problem is not in the version of BC

Re: "ant test" using JDK15 without extra Xalan jar

2004-07-12 Thread Davanum Srinivas
Vishal, I was able to get "ant test" work in JDK1.5 w/o xercesImpl in libs directory (remove the xercesImpl from ant/lib as well before you run it). Could you please help with getting "ant test" to work w/o the extra Xalan jar? thanks, dims On Tue, 22 Jun 2004 11:47:07 -

Proposed patch (diff -u) for Bug 29595 - passes regression test cases

2004-07-06 Thread Anderson Jonathan
inal suggestion that appears to both fix the memory leak and pass the JUnit test cases. Can one of the committers (and anybody else who wants to test this out) please take a look and verify my findings? It would be great if we could get this or anything else that fixes the problem committed t

Re: "ant test" using JDK15 without extra Xalan jar

2004-06-22 Thread Davanum Srinivas
C:\APACHE\xml-security>ant test Buildfile: build.xml [taskdef] Could not load definitions from resource clovertasks. It could not be found. init: [echo] --- [echo] - Apache-XML-Security-J v1.1.0 [2000-2

Re: "ant test" using JDK15 without extra Xalan jar

2004-06-22 Thread Vishal Mahajan
Dims, Davanum Srinivas wrote: > > Vishal, > > I was thinking about the xalan dependency and noticed that JDK15 has > xalan under com.sun.apache.*...Are u planning to take a stab at being > able to run "ant test" using JDK15 without extra Xalan jar I am caught up

"ant test" using JDK15 without extra Xalan jar

2004-06-21 Thread Davanum Srinivas
Vishal, I was thinking about the xalan dependency and noticed that JDK15 has xalan under com.sun.apache.*...Are u planning to take a stab at being able to run "ant test" using JDK15 without extra Xalan jar thanks, dims -- Davanum Srinivas - http://webservices.apache.org/~dims/

test - please ignore

2004-06-02 Thread trebor iksrazal
__ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/

DO NOT REPLY [Bug 28872] - merlin-xmldsig-twenty-three test cases

2004-05-10 Thread bugzilla
gzilla/show_bug.cgi?id=28872 merlin-xmldsig-twenty-three test cases --- Additional Comments From [EMAIL PROTECTED] 2004-05-10 14:35 --- Created an attachment (id=11491) files.zip

DO NOT REPLY [Bug 28872] - merlin-xmldsig-twenty-three test cases

2004-05-10 Thread bugzilla
gzilla/show_bug.cgi?id=28872 merlin-xmldsig-twenty-three test cases --- Additional Comments From [EMAIL PROTECTED] 2004-05-10 14:34 --- Created an attachment (id=11490) diff.txt

DO NOT REPLY [Bug 28872] New: - merlin-xmldsig-twenty-three test cases

2004-05-10 Thread bugzilla
gzilla/show_bug.cgi?id=28872 merlin-xmldsig-twenty-three test cases Summary: merlin-xmldsig-twenty-three test cases Product: Security Version: cvs Platform: All URL: http://www.w3.org/Signature/2001/04/05-xmldsig- intero

Re: Question about iop test of c14n

2004-04-17 Thread Berin Lautenbach
One of the really cool things about c14n is it doesn't necessarily result in valid XML . C14n takes as an input a node-set, which may not be a complete XML document. That means you can use it to canonicalise only the data in the document that you are interested in signing. As an example - if

Question about iop test of c14n

2004-04-17 Thread [EMAIL PROTECTED]
Hi, I'm refacotoring the c14n and i see that i can get some minor speed-ups, but I have found something strange. It is this vector correct? xml-security/data/interop/c14n/Y4/c14n-24.txt It isn't a valid xml file, I'm missing something? Perhaps i need to read better the recomendation. But any

Re: Fix for JDK1.3 missed (Re: cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/interop IBMTest.java)

2004-03-08 Thread Berin Lautenbach
Done. Cheers, Berin Davanum Srinivas wrote: Erwin, Berin, Latest CVS does not have the fix the JDK1.3 build failure :( see attached diff. thanks, dims --- [EMAIL PROTECTED] wrote: vdkoogh 2004/03/07 10:16:02 Modified:src_unitTests/org/apache/xml/security/test

Fix for JDK1.3 missed (Re: cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/interop IBMTest.java)

2004-03-07 Thread Davanum Srinivas
Erwin, Berin, Latest CVS does not have the fix the JDK1.3 build failure :( see attached diff. thanks, dims --- [EMAIL PROTECTED] wrote: > vdkoogh 2004/03/07 10:16:02 > > Modified:src_unitTests/org/apache/xml/security/test InteropTest.java >.

Re: license problems with test vectors in CVS

2004-03-07 Thread Berin Lautenbach
thinking about the IBM stuff in particular, but in test vectors in general :) IANAL in a long shot, but the more I think about it the more uncomfortable I feel about the files in CVS.. It's just that the IBM stuff got me thinking in the first place. Regards, Erwin

Re: license problems with test vectors in CVS

2004-03-07 Thread Erwin van der Koogh
i sent a note out to the IBM folks asking for clatification. my VOTE would be to wait for their response before yanking it out I wasn't actually thinking about the IBM stuff in particular, but in test vectors in general :) IANAL in a long shot, but the more I think about it the

Re: license problems with test vectors in CVS

2004-03-07 Thread Davanum Srinivas
esponse before yanking it out > > thanks, > dims > > --- Erwin van der Koogh <[EMAIL PROTECTED]> wrote: > > Hi guys, > > > > I have been thinking after doing the IBM test vector stuff.. > > > > Doesn't the requirement to have all files i

Re: license problems with test vectors in CVS

2004-03-07 Thread Davanum Srinivas
Erwin, i sent a note out to the IBM folks asking for clatification. my VOTE would be to wait for their response before yanking it out thanks, dims --- Erwin van der Koogh <[EMAIL PROTECTED]> wrote: > Hi guys, > > I have been thinking after doing the IBM test vector stuff.. &

license problems with test vectors in CVS

2004-03-07 Thread Erwin van der Koogh
Hi guys, I have been thinking after doing the IBM test vector stuff.. Doesn't the requirement to have all files in CVS covered under the (new) Apache license conflict with the test vector stuff already in CVS? We might be able to use the files, but doesn't give us the right to claim