Many thanks Berin,

I have to track the validation code again, as it validates a signature that was produced just a few seconds before, then the XML is written to disk, and then read in again.

I will let you know about my progress.

Many thanks again

Jozef

---------


From: Berin Lautenbach <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: going from signing xml file with DTD to signing xml file with Schema
Date: Sat, 21 Feb 2004 20:41:25 +1100


Jozef Aerts - Comp.Chem.Cons. - XML4Pharma wrote:
Dear Berin,

Many thanks.
Does the cascading down HAVE to happen ? Or can it be avoided ?

As I understand it (and maybe someone else can comment here!) - yes it does.


The C++ library bypasses this by keeping a record of the cascaded namespace attributes and then removing them after canonicalisation, but that hasn't been built into the Java library (yet... :>).


If it cannot be avoided, is there a way to "uncascade" it after signing, or at verification time ?

Not that I am aware of.



Unfortunately, the code from "the code below" was missing in your mail. Could you send it to me ?

Apologies - I meant your code (it was originally "below" when I quoted :>.) SO the question was - are you trying to validate a previously signed document that you have now added the schema attribute to, or are you signing a "schema document" and then the validation is failing? If the former, then the validation *should* fail. If the latter, then the validation should succeed, so we need to track down the problem.



_________________________________________________________________ Talk with your online friends with MSN Messenger http://messenger.msn.nl/



Reply via email to