Hi gang --

I've run into a strange problem using xmlsec-1.4.1.

I can sign a document - no problem.

I can validate a VALID signature - no problem.

I can detect an INVALID signature - no problem.

However, once I detect an invalid signature, I validate any further signatures!

I've boiled my code down to a simple case that i've posted at http://agileshrugged.com/files/soaptester.zip -- It's an eclipse project but running it outside of eclipse should work if you include all the libraries in the "lib" directory on your classpath.

There is a JUnit test "SoapUtilTest" in which testSign() and testValidate() work, but testInvalidThenValid() fails.

I've tried this in JDK 1.4 & 1.6 with no luck.

Am I doing something wrong, or is this a bug?

Thanks!
---
Nayan Hajratwala
Chikli Consulting LLC
http://agileshrugged.com
http://www.chikli.com






Reply via email to