Thanks, this should fix it, but I've seen it's a feature from 1.4.2
So I'll have to upgrade.
-----Mensaje original-----
De:
Sean.Mullan@... [mailto:
Sean.Mullan@...]
Enviado el: miƩrcoles, 16 de julio de 2008 16:20
Para:
security-dev@...
Asunto: Re: Remove carry return from xml signature
Lopez Cantero, Sergio wrote:
> Hi, I've seen that every time you create a xmlsignature, nodes get "formatted"
> with a carry return at the end of the starting tag, p. ex:
> <node>
> <node2></node2>
> </node>
> Is there a way to deactivate this behavior?
Yes. If you set the system property named
"org.apache.xml.security.ignoreLineBreaks" to true, line breaks will not
be inserted in the Signature. This includes line breaks after elements
and in base64 encoded values.
--Sean