santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lopez Cantero, Sergio" <SLCANT...@sadiel.es>
Subject RE: Remove carry return from xml signature
Date Thu, 17 Jul 2008 07:12:12 GMT
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@Sun.COM [mailto:Sean.Mullan@Sun.COM] 
Enviado el: miƩrcoles, 16 de julio de 2008 16:20
Para: security-dev@xml.apache.org
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
Mime
View raw message