Re: Newbie question

2005-06-09 Thread Mike Haller
Hi Berin, you're absolutely right, and I understand it. If it was a requirement to use CDATA tags for text nodes, we wouldn't have such problems. All other contents could be considered subject to change. However, i'm using Castor and it seems that the deserialisation process (marshalling) rem

Re: Newbie question

2005-06-09 Thread Berin Lautenbach
Mike Haller wrote: i don't know why Canonicalization doesn't address this problem at all. It sounds like being incomplete to me. One the one hand, there is taken effort to "normalize" the XML document so it can be signed to avoidproblems with formattings - on the other hand something simple li

Re: Newbie question

2005-06-09 Thread Mike Haller
Yes Berin, thanks, i don't know why Canonicalization doesn't address this problem at all. It sounds like being incomplete to me. One the one hand, there is taken effort to "normalize" the XML document so it can be signed to avoidproblems with formattings - on the other hand something simple li

Re: Newbie question

2005-06-09 Thread Berin Lautenbach
Mike Haller wrote: But after some marshalling/unmarshalling with Castor, the resulting Document has no newlines any more, hence the SignatureValue of the SignedInfo element is invalid. How do I tell XMLSignature to add newlines into the SignedInfo before validation? Or should I remove the ne