[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-security-dev
Subject:    RE: Remove carry return from xml signature
From:       "Lopez Cantero, Sergio" <SLCANTERO () sadiel ! es>
Date:       2008-07-17 7:12:12
Message-ID: 3BDF182267B38B419F95D30CDCB7849F86C62E () svrcorreoeo ! sadiel ! es
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic